-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
Implement connect
, disconnect
and delete
operations for nested mutations upon MorphTo relationships
#879
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work on this one @spawnia 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. 🎉
Let's hope the RFC gets through soon so we can have create and update also.
Just had one small change to docs.
connect
and disconnect
operations for nested mutations upon MorphTo relationshipsconnect
, disconnect
and delete
operations for nested mutations upon MorphTo relationships
Related Issue/Intent
Allows connecting and disconnecting polymorphic associations for a MorphTo relation using nested mutations.
Changes
Implement
connect
anddisconnect
The GraphQL Specification does not support Input Union types,
for now we are limiting this implementation to
connect
anddisconnect
operations.Let's see which one of the current RFC's makes it and base the implementation of
create
andupdate
upon that. graphql/graphql-spec#114Breaking changes
Nope