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

Any way to handle map object when generating schema

Open PeterFan89 opened this issue 1 year ago • 0 comments

I'm using annotation to generate graphql schema. However, it didn't work when the annotation handle map object. For example, I put the @GraphQLField on the field which type is like Map<Integer, ObjectA> and also have @GraphQLField on the field inside the object. Then I print the schema but cannot find the ObjectA type in my schema. Is there any way I can handle map object?

PeterFan89 avatar Aug 09 '22 16:08 PeterFan89