graphene
graphene copied to clipboard
Add support for interfaces on interfaces
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.