Incrementing or Decrementing existing value for the first time will remove it #843
Closed
4 tasks done
Labels
type:bug
Impaired feature or lacking behavior that is likely assumed
New Issue Checklist
Issue Description
using
set
to set a value and then trying to increment or decrement that value will result in removing the value and the amount parameter from the increment or decrement functions will replace it after this point any call to increment or decrement functions will work fine.Steps to reproduce
ParseObject
set("key",2)
setIncrement("key",5)
functionget("key")
get("key")
is5
which is not expectedcode snippet:
Actual Outcome
Not considering the already existing value in the first call to
setIncrement
orsetDecrement
Expected Outcome
check for already existing value and use it.
Environment
Parse Flutter SDK
3.1.15
any
Server
any
Logs
The text was updated successfully, but these errors were encountered: