-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datastore): fix syncQuery for partial success-error responses and…
… update retry mechanism for error codes (#3479) * fix(DataStore): retry on session expired requests * fix(datastore): Adding secureConnectionFailed as a retryable error (#3475) * fix(datastore): decode optimistically with paginated list response type (#3474) * fix(datastore): decode optimistically with paginated list response type * add unit test cases * resolve comments * Update PaginatedListTests.swift * fix(DataStore): retry on session expired requests (#3477) * fix(DataStore): retry on session expired requests * add test --------- Co-authored-by: Michael Law <[email protected]> Co-authored-by: Harsh <[email protected]> Co-authored-by: Di Wu <[email protected]>
- Loading branch information
1 parent
3d142c1
commit e9cad1d
Showing
7 changed files
with
128 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -44,3 +44,5 @@ extension GraphQLError { | |
public let column: Int | ||
} | ||
} | ||
|
||
extension GraphQLError: Error { } |
This file contains 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 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 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 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 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 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