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

chore: handle decoding errors #152

Closed

Conversation

thisisabhash
Copy link
Member

@thisisabhash thisisabhash commented Jul 1, 2024

Issue #, if available:
None

Description of changes:

  • Handle decoding errors e.g. unknown challenge type received in ChallengeEvent
  • Resolve below compiler warning:
    Accessing StateObject's object without being installed on a View. This will create a new instance each time.

Check points: (check or cross out if not relevant)

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit 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
  • 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.

@thisisabhash thisisabhash requested review from a team as code owners July 1, 2024 21:29
@thisisabhash
Copy link
Member Author

Build failure due to this change: aws-amplify/amplify-swift#3765 not yet merged.

@thisisabhash thisisabhash deleted the fix/handle-decoding-error branch July 2, 2024 17:33
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.

1 participant