Skip to content

afterFind hook don't fire on 'create' event of live query. #4241

Closed
@omar-bz

Description

@omar-bz

I'm using the latest version of parse-server.
I implemented afterFind hook in the parse server to intercept some data and modify it before it goes to the client like so:
Parse.Cloud.afterFind('Question', function(req, res) { //change the data res.success(result); })
everything work fine in the client for find and get of the query object, update delete enter leave events of the liveQuery while data come modified, except for the create event of the live query the data comes raw without been modified.
So is that an issue or it is designed to work like so and is there a work around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions