graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Add support for interfaces on interfaces

Open AlecRosenbaum opened this issue 4 years ago • 0 comments

graphql-core already supports specifying interfaces on interfaces. This change adds that support to graphene.

For example, the interfaces from one of the added test cases would look like this in a printed schema:

interface FooInterface {
  foo: String
}

interface BarInterface implements FooInterface {
  foo: String
  bar: String
}

I've tested these changes with a private schema and it seems to work as expected. There's some trickiness around getting graphql-core to resolve types properly but it's definitely doable.

AlecRosenbaum avatar Jan 15 '21 19:01 AlecRosenbaum