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
TLDR - pushing out a deployment to sandbox causes a error when:
There is a one to many relationship between two customType()s using a.ref() & a.ref().array()
There is a 3rd model table using a.model()
A custom query references the a.model() table as dataSource and one of the a.customTypes() as returns() value.
Error Message:
Maximum call stack size exceeded
Caused By: Maximum call stack size exceeded
Resolution: Check your data schema definition for syntax and type errors.
Environment information
Data packages
Description
TLDR - pushing out a deployment to sandbox causes a error when:
There is a one to many relationship between two customType()s using a.ref() & a.ref().array()
There is a 3rd model table using a.model()
A custom query references the a.model() table as dataSource and one of the a.customTypes() as returns() value.
Error Message:
Schema:
Repo reproduction link:
https://github.com/jmarshall9120/AmplifySchemaTesting
The text was updated successfully, but these errors were encountered: