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

@GraphQLUnionType not working with current trunk version of graphql-java #3

Open
ayhanap opened this issue Jun 29, 2016 · 0 comments
Open

Comments

@ayhanap
Copy link

ayhanap commented Jun 29, 2016

This commit graphql-java/graphql-java@c3fbc2d of graphql-java breaks the @GraphQLUnionType annotation at the line https://github.com/oembedler/spring-graphql-common/blob/f5b699f4073eec50b18e71bb22ae085500ce780a/src/main/java/com/oembedler/moon/graphql/engine/dfs/GraphQLSchemaDfsTraversal.java#L163 with Caused by: java.lang.NoSuchMethodError: graphql.schema.GraphQLUnionType$Builder.possibleTypes([Lgraphql/schema/GraphQLType;)Lgraphql/schema/GraphQLUnionType$Builder;
Apperantly they changed the method signature. With v2.0.0 of graphql-java this just works fine. But as a future problem, I'm filing this issue. Also obvious possible fix may work with both versions since GraphQLObjectType implements GraphQLType.

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

1 participant