You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes support for the code registry (as opposed to type resolvers & data fetchers attached directly to schema objects).
```
Caused by: graphql.AssertException: There must be a type resolver for union ExampleUnion
at graphql.Assert.assertNotNull(Assert.java:15) ~[graphql-java-12.0.jar:na]
[…]
at graphql.schema.GraphQLCodeRegistry$Builder.getTypeResolver(GraphQLCodeRegistry.java:230) ~[graphql-java-12.0.jar:na]
[…]
at graphql.schema.SchemaUtil.extractCodeFromTypes(SchemaUtil.java:112) ~[graphql-java-12.0.jar:na]
[…]
at graphql.schema.GraphQLCodeRegistry.transform(GraphQLCodeRegistry.java:139) ~[graphql-java-12.0.jar:na]
at graphql.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:413) ~[graphql-java-12.0.jar:na]
at graphql.servlet.GraphQLSchemaProvider.copyReadOnly(GraphQLSchemaProvider.java:15) ~[graphql-java-servlet-7.4.1.jar:na]
at graphql.servlet.DefaultGraphQLSchemaProvider.<init>(DefaultGraphQLSchemaProvider.java:17) ~[graphql-java-servlet-7.4.1.jar:na]
at com.oembedler.moon.graphql.boot.GraphQLWebAutoConfiguration.graphQLSchemaProvider(GraphQLWebAutoConfiguration.java:162) ~[graphql-spring-boot-autoconfigure-5.8.1.jar:na]
```
Signed-off-by: Pierre Carrier <[email protected]>
0 commit comments