-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Bug about afterSave hook on increment operation #743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@wangmengyan95 Since you are on it, do we expect to have |
@nlutsenko we need both. |
And few more questions - inside |
It seems we do not support
If I create a
If I update a
In any cases, the dirtyKeys size in afterSave is always 0. |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
-[ ] You've met the prerequisites.
-[ ] You're running the latest version of Parse Server.
-[ ] You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
Steps to reproduce
Step 1. Create a new ParseObject with a number field like this
Step 2. Add a afterSave hook for this class like
Step 3. Update the object created in step 1 with an increment operation like
Step 4. Check the log of the afterSave hook
The score field is still an operation, not the actual value.
I verify the behaviour of Parse.com, the value we get in the afterSave is a number not the operation.
Logs/Trace
The text was updated successfully, but these errors were encountered: