-
-
Notifications
You must be signed in to change notification settings - Fork 877
Consistency errors #1237
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
Merged
Merged
Consistency errors #1237
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
73b6651
wip
flovilmart 30ffc60
wip
flovilmart e755c23
Initial refactoring of Consistency Assertion to Consistency errors
flovilmart 4526f07
Soft errors for User consistency checks `_checkSaveParametersWithCurr…
flovilmart 816a6e2
Bumps to latest Swift
flovilmart 1e049f3
Proper failable methods for the LocalIdStore
flovilmart 88ef74f
Adds precondition for checking if user is not merging on itself
flovilmart 3ab3546
Swallow consistency error when decoding
flovilmart e0ed31f
Base error checking on return parameters as unsafe to check error / *…
flovilmart 2af299f
Restore behaviour for nil tranformed objects without errors
flovilmart bc95c30
proper ARC modifier for NSError**
flovilmart 54a07f0
Transform assertions to errors in children collection
flovilmart c767855
Adds PFPrecondition instead of Exception when saving cycles
flovilmart 30ec1f9
Properly bail on encoding errors, add tests
flovilmart bd3d622
nits: TODOs
flovilmart cb97ec5
Improve handling of failures for localId resolutiosn
flovilmart aa3f7c0
Report missing localId as soft errors
flovilmart 34f3b8f
Refactor: Rename macros in PFPreconditon, more consistency on arguments
flovilmart 5c3d70e
Better error propagation in resolving localIds
flovilmart 32886fc
More tests for failures of localId resolutions
flovilmart e634afa
Bump version to 1.16.1-alpha.1
flovilmart 00e3393
Bump podspec to 1.17.0-alpha.1
flovilmart 9a237a1
Fix issue #916
flovilmart c6660c2
Fixes #1184
flovilmart e88222c
Adds r/w accessors in swift for the PFACL
flovilmart 59e7cc0
Adds CHANGELOG.md
flovilmart 1855401
Bumps to 1.17.0-alpha.2
flovilmart 3a71d2f
Fixes flaky test
flovilmart 7337f36
Provide more context when asserting OfflineStore objectId assignment …
flovilmart a4ed6b7
Bolts doesnt infer failed tasks with NSError as a return type, always…
flovilmart b1addae
Bump to 1.17.0-alpha.3
flovilmart 20b8ddd
Releases on travis
flovilmart 5d296a1
run pod trunk push with verbose to not stall travis
flovilmart 155f30b
Review nits
flovilmart ea2fa1a
Do no track dimensions if they are nil
flovilmart 8a03368
Bump version to 1.17.0-alpha.4
flovilmart 278ab82
Adds precondition to prevent crash
flovilmart 6ede892
Fixes errors
flovilmart 190bfc1
Bumps to 1.17.0-alpha.5
flovilmart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Parse-SDK-iOS-OSX Chnagelog | ||
|
||
### master | ||
|
||
* Fixes NSInternalInconsistencyException handling starting Bolts 1.9.0 by emitting soft NSErrors | ||
* Fixes issue affecting public getter/setters in PFACL's in Swift (#1083) | ||
* Prevent deadlocks when saving objects with cicrular references (#916) | ||
* Prevent deadlocks when running fetchAll with circluar references (#1184) | ||
* Adds NSNotification when an invalid session token is encountered | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ gem 'xcpretty' | |
gem 'xcodeproj' | ||
gem 'cocoapods' | ||
gem 'jazzy', '~> 0.9.0' | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we have to add the error handling here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should be good if I understand the codepaths correctly