Model parsing fails for complex non-model types #4872
Labels
bug
Something is not working; the issue has reproducible steps and has been reproduced
CLI
Issues related to the Amplify CLI
GraphQL API
Issues related to the API (GraphQL) Category
Investigating
Issues that are assigned and are being looked into
pending-release
Issues that have been addressed in main but have not been released
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: