v7.0
Notice that as part of the breaking change, the usage of graphql-java-annotations is now different: the GraphQLAnnotations
class is not a singleton anymore, and should be constructed.
You also have to obtain the GraphQLCodeRegistry.Builder
from the GraphQLAnnotations
object in order to build your schema properly. You are now able to use the AnnotationsSchemaCreator
in order to build a GraphQLSchema based on your java classes. Read more in our updated readme https://github.com/Enigmatis/graphql-java-annotations