Skip to content
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

fix(datastore): fix syncQuery for partial success-error responses and update retry mechanism for error codes #3479

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

thisisabhash
Copy link
Member

@thisisabhash thisisabhash commented Jan 19, 2024

Issue #

#3259

Description

This PR combines the the three PRs below:
#3474
#3475
#3477

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

lawmicha and others added 3 commits January 18, 2024 17:38
…pe (#3474)

* fix(datastore): decode optimistically with paginated list response type

* add unit test cases

* resolve comments

* Update PaginatedListTests.swift
@thisisabhash thisisabhash requested a review from a team as a code owner January 19, 2024 18:32
@thisisabhash thisisabhash changed the title fix(datastore): Fix syncQuery for partial success-error responses and update retry mechanism for error codes fix(datastore): fix syncQuery for partial success-error responses and update retry mechanism for error codes Jan 19, 2024
harsh62
harsh62 previously approved these changes Jan 22, 2024
* fix(DataStore): retry on session expired requests

* add test
@thisisabhash thisisabhash merged commit e9cad1d into main Jan 22, 2024
79 checks passed
@thisisabhash thisisabhash deleted the fix/gh-3259 branch January 22, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants