Closed ww-daniel-mora closed 1 day ago
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. npm install -g @aws-amplify/cli@12.11.1
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 12.12.2
. Please update your CLI and regenerate models to consume the fix.
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