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

Interface implementing another interface #1670

Closed
simPod opened this issue Sep 20, 2021 · 1 comment
Closed

Interface implementing another interface #1670

simPod opened this issue Sep 20, 2021 · 1 comment

Comments

@simPod
Copy link

simPod commented Sep 20, 2021

In graphql, it is possible for interface to implement another interface.

interface Node {
  id: ID!
}

interface I implements Node {
  id: ID!
  name: String!
}

Altair gives error on schema introspection

  50 | }
  51 | 
> 52 | interface I implements Node {
     |                  ^
  53 |   id: ID!
  54 |   name: String!
  55 | }

Additional context
graphql/graphql-spec#373

@imolorhe
Copy link
Collaborator

imolorhe commented Sep 20, 2021

This is a duplicate #1626 Would be in the next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants