Unable to create many-to-many relationship with self-related model #1303
Labels
graphql-transformer-v1
Issue related to GraphQL Transformer v1
pending-triage
Issue is pending triage
Describe the bug
As many-to-many relationships are not natively supported with Amplify annotated graphql connections, I've managed to create my own with the solution listed #91 (comment)
My issue is I would like to create a many-to-many relationship with a self-related model.
For instance, a User who has multiple friends which are of the type User.
Using the connection annotation, I would expect to be able to use something like:
This compiles the graphQL schema without error, but when pushing to Amplify this throws
Only one resolver is allowed per field.
The text was updated successfully, but these errors were encountered: