-
Notifications
You must be signed in to change notification settings - Fork 247
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
Model parsing fails for complex non-model types #4872
Comments
Hi @ww-daniel-mora, we are looking into the issue now and will get back to you when we hvae an update. |
Hi @ww-daniel-mora, sorry to hear you ran into this issue. Thank you for the detailed reproduction steps. I've opened a PR to address this on the CLI side. Also note this workflow is already working in Amplify Flutter 2.0, however we are still working on the full migration guide from 1.X. Stay on the lookout for updates on when it's available. In the meantime, you can downgrade your CLI version to unblock any issue. I will update you when the fix becomes available. |
Hi @ww-daniel-mora, thank you for your patience. A fix for this issue in Amplify Flutter V1 has been released in Amplify CLI I'm going to close this as resolved. If you have any additional issues, don't hesitate to reach out. |
Description
With amplify cli version 12.12.0 model parsing does not populate the value in any complex non-model types. The properties of any complex non-model type will be null.
Categories
Steps to Reproduce
Given a schema that contains a complex non-model type
When calling AppSync and setting the model type:
Complex non model types (e.g. Token) will not have their properties populated, i.e
result.data.token.value == null
would be true in the above example.This break was introduces with CLI version 12.12.0 and worked prior to this version.
Screenshots
No response
Platforms
Flutter Version
3.19.6
Amplify Flutter Version
1.7.0
Deployment Method
Amplify CLI
Schema
The text was updated successfully, but these errors were encountered: