-
Notifications
You must be signed in to change notification settings - Fork 117
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(aws-api-appsync): update getModelFields for flutter support #1611
fix(aws-api-appsync): update getModelFields for flutter support #1611
Conversation
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.
Would be nice to have a unit test for this.
@jpignata doesn't agree |
…x/1610-flutter-observe-nested-data
@poojamat I added a unit test for the new behavior for SerializedModel in aws-api-appsync. The unit tests seem to be failing in CI, although they are passing locally. I will look into that and update if needed. |
@@ -0,0 +1,59 @@ | |||
/* | |||
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
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.
Should the copyright year be 2022?
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.
Yes. Updated.
aws-api-appsync/src/test/java/com/amplifyframework/api/aws/JustIDGraphQLRequestOptions.java
Outdated
Show resolved
Hide resolved
…tIDGraphQLRequestOptions.java
Issue #, if available: #1610
Description of changes:
getModelFields
method for flutter support to match the version used for native apps. The changes are identical to the changes in https://github.com/aws-amplify/amplify-android/pull/1585/files, but are applied to the version ofgetModelFields
that is used for flutter supportBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.