graphql-java-annotations icon indicating copy to clipboard operation
graphql-java-annotations copied to clipboard

Autodetect GraphQL interfaces

Open shevek opened this issue 5 years ago • 0 comments

If an object implements an interface with GraphQL annotations on it, that interface should be autodetected and added to the schema.

@GraphQLTypeResolver(...)
public interface MyIF{}
public class Foo implements MyIF {}

annotations.additionalType(Foo.class);

Should detect MyIF, and does not.

shevek avatar Oct 25 '19 23:10 shevek