Skip to content
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

Support interfaces implementing other interfaces #3613

Merged
merged 10 commits into from Sep 10, 2021

Conversation

rmosolgo
Copy link
Owner

@rmosolgo rmosolgo commented Sep 8, 2021

Create a proper interface-to-interface relationship.

Some parts aren't well tested:

  • interface type memberships with options
  • interface type extensions (which have no behavior anyways)

But I think it's enough to get started:

  • interface interfaces are parsed and re-dumped
  • They can be queried
  • Interfaces show up in introspection

Fixes #2804

spec in graphql/graphql-spec#373

Leonard Chin and others added 9 commits July 26, 2021 23:09
Since Ruby 3, hash passed as kwargs will be removed if empty.
This can result in a value of `{}` being converted to `nil`,
ultimately leading to a validation error.
Sketch out a general-use dataloader API
Properly detect input objects for authorization
Ruby 3: Don't pass empty hash as kwargs
@rmosolgo rmosolgo added this to the 1.13.0 milestone Sep 8, 2021
@rmosolgo rmosolgo changed the base branch from master to 1.13-dev September 10, 2021 15:50
@rmosolgo rmosolgo merged commit 0ab01d1 into 1.13-dev Sep 10, 2021
@rmosolgo rmosolgo deleted the interfaces-interfaces branch November 9, 2021 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow interfaces to implement other interfaces
3 participants