INNER CODE UNIT · Java
setGraphQLSchemaBuilder
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:58
public Builder setGraphQLSchemaBuilder(GraphQLSchema.Builder schemaBuilder) {
this.graphqlSchemaBuilder = schemaBuilder;
return this;
}
/**
* You can set your own annotations processor
*
* @param annotationsProcessor the annotations processor which creates the GraphQLTypes
* @return the builder after setting the annotations processor
*/
public Builder setAnnotationsProcessor(GraphQLAnnotations annotationsProcessor) {
this.graphQLAnnotations = annotationsProcessor;
return this;
}
/**
* Set the Query of the graphql schema