-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gen2: Type instantiation is excessively deep and possibly infinite #2262
Comments
Hey @johnpc , Thank you for reporting this. We are able to replicate this issue by cloning your repo. Hence, marking this as bug for the team to evaluate further. |
Closing since the fix has been merged in. |
I had talked to @iartemiev about this, but the perf improvements in #104 did not resolve my issue. |
actually false alarm, this is fixed in the latest @beta |
is this fixed in normal stable? im getting the same issue, or is it only fixed in beta for now aswell? |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.8.1
Amplify CLI Version
0.11.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
With certain data model settings, I encounter a type error
Type instantiation is excessively deep and possibly infinite.
which causes my build to fail. I've set up a repo with a model that experiences this failure here: https://github.com/johnpc/amplify-demo-data-type-infinite (see repro steps).Expected behavior
Build succeeds without type error
Reproduction steps
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: