You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are building an amplify Gen2 app based on a SQL RDS data source. Recently I did an update to the schema, regenerated the schema.sql.ts file and pushed the changes to git. The deployment for that branch started and failed with these errors:
The input value type 'SurveyResponseInput' is not present when resolving type 'CreatePersonInput'
The input value type 'PersonInput' is not present when resolving type 'CreateSurveyResponseInput'
There seems to be some circular dependency that I could not resolve yet.
I have set the relationships in resource.ts as follows:
Environment information
Data packages
Description
We are building an amplify Gen2 app based on a SQL RDS data source. Recently I did an update to the schema, regenerated the schema.sql.ts file and pushed the changes to git. The deployment for that branch started and failed with these errors:
There seems to be some circular dependency that I could not resolve yet.
I have set the relationships in resource.ts as follows:
I have setup the amplify app from scratch and without the above code snippet could deploy successfully.
The schema.sql.ts generated from the DB:
The text was updated successfully, but these errors were encountered: