Skip to content

Commit 4d02e57

Browse files
authored
Add afterFind Considerations (#821)
* add afterFind considerations * Update cloud-code.md
1 parent dcdfe4b commit 4d02e57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_includes/cloudcode/cloud-code.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,9 @@ Parse.Cloud.afterFind(Parse.User, async (request) => {
672672
})
673673
```
674674
675+
### Some considerations to be aware of
676+
- 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
677+
675678
# Session Triggers
676679
677680
## beforeLogin

0 commit comments

Comments
 (0)