Closed cbaker6 closed 2 years ago
Merging #402 (b9552e1) into main (106f97d) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #402 +/- ##
=======================================
Coverage 89.64% 89.65%
=======================================
Files 158 158
Lines 15081 15113 +32
=======================================
+ Hits 13519 13549 +30
- Misses 1562 1564 +2
Impacted Files | Coverage Δ | |
---|---|---|
Sources/ParseSwift/Objects/ParseObject.swift | 87.73% <100.00%> (+0.28%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
New Pull Request Checklist
Issue Description
After a developer begins mutating/updating a
ParseObject
that already has anobjectId
viamergeable
or some other method that allows the developer to save theParseObject
using the Parse Servers quirky patch. The only way to revert a specificKeyPath
back to its original value is by setting it based on a local stored version or remembering what that value was.Related issue: #n/a
Approach
Leverage the
originalData
property to allow developers to revert specificKeyPath
's or the wholeParseObject
.Example usage:
TODOs before merging