Skip to content

Commit

Permalink
Add afterFind Considerations (parse-community#821)
Browse files Browse the repository at this point in the history
* add afterFind considerations

* Update cloud-code.md
  • Loading branch information
dblythy committed Apr 7, 2021
1 parent dcdfe4b commit 4d02e57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/cloudcode/cloud-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ Parse.Cloud.afterFind(Parse.User, async (request) => {
})
```
### Some considerations to be aware of
- If you use the `masterKey` to fetch a pointer in an `afterFind` trigger, it will be sent in full to the client. Prior to returning to the client, be sure to check that the returned objects and pointers do not contain information that the client should not be able to access
# Session Triggers
## beforeLogin
Expand Down

0 comments on commit 4d02e57

Please sign in to comment.