Custom types can't be referenced more than once #14104
Labels
GraphQL
Related to GraphQL API issues
not-reproducible
Not able to reproduce the issue
pending-maintainer-response
Issue is pending a response from the Amplify team.
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Amplify Gen 2
Environment information
Describe the bug
When defining a custom type, if I try to reference it as the return type of a query, it works, however, if I do it on more than one query it throws an error.
Expected behavior
I would expect the Schema to let me reference the same custom type more than once.
Reproduction steps
The text was updated successfully, but these errors were encountered: