This repository has been archived by the owner on Sep 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
can't generate by Map.class #2
Comments
I can confirm this behavior under JRE 8, but JREs 6 and 7 are able to handle maps. Let me research this more, but until then, perhaps a different JRE is an option. |
I have done additional work to support TypeVariables, can you please check 0.9.0 from master and see whether this satisfies your needs? |
Weird error
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have got a error when runing like this
BuildContext buildContext= DefaultBuildContext.reflectionContext; GraphQLOutputType a=buildContext.getOutputType(Map.class);
and the error result is
7:55.723 [main] WARN graphql.java.generator.type.TypeGenerator - Failed to generate type named sun_reflect_generics_reflectiveObjects_TypeVariableImpl with kind INPUT_OBJECT 14:47:55.728 [main] DEBUG graphql.java.generator.type.TypeGenerator - Failed to generate type, exception is graphql.AssertException: wrappedType can't be null at graphql.Assert.assertNotNull(Assert.java:10) at graphql.schema.GraphQLList.<init>(GraphQLList.java:13)
The text was updated successfully, but these errors were encountered: