Build error "Type instantiation is excessively deep and possibly infinite." #14057
Closed
3 tasks done
Labels
GraphQL
Related to GraphQL API issues
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Amplify Gen 2
Environment information
Describe the bug
I use the same selection set for
client.models.Foo.onUpdate
andclient.models.Foo.observeQuery
, theobserveQuery
cannot be build because of this error "Type error: Type instantiation is excessively deep and possibly infinite."Local dev is working fine.
Expected behavior
Project can be built.
Reproduction steps
hasMany
,oneOf
observeQuery
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: