"SomeInput" is not present when resolving type "OtherInput" #3053
Labels
data-schema
Gen 2
pending-community-response
Issue is pending a response from the author or community.
RDS
to-be-reproduced
Pending reproduction
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: