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

Interfaces implements Interface #159

Closed
nsdeschenes opened this issue Oct 5, 2021 · 1 comment
Closed

Interfaces implements Interface #159

nsdeschenes opened this issue Oct 5, 2021 · 1 comment

Comments

@nsdeschenes
Copy link

I'm trying to create a proof of concept schema that has requires interfaces to implement another interface.

The included web editor does not all the file to be saved when I try to set it in there, if I manually set it and try to launch graphql-faker it doesn't throw any errors, but it says there's an issue with the middle-ware when visiting the /graphql endpoint.

It was mentioned in this RFC: graphql/graphql-spec#373, I was wondering what the status of it is in graphql-faker, and if it will be integrated?

interface Node {
  id: ID!
}

interface NodeB extends Node {
  id: ID!
  idTwo: ID!
}

type a implements Node & NodeB {
  id: ID!
  idTwo: ID!
  hello: String
}
@L3V147H4N
Copy link

L3V147H4N commented Nov 30, 2021

spec for interface extension was introduced very recently https://spec.graphql.org/October2021/#sec-Interface-Extensions

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

No branches or pull requests

2 participants