INNER CODE UNIT · Java
setRelay
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:211
public Builder setRelay(Relay relay) {
this.graphQLAnnotations.setRelay(relay);
return this;
}
/**
* @return the graphql annotations processor
*/
public GraphQLAnnotations getGraphQLAnnotations() {
return this.graphQLAnnotations;
}
/**
* Build a graphql schema according to the properties provided
* The method generates the GraphQL objects, directives, additional types, etc using the graphql annotations processor and sets them into the GraphQL Schema
*
* @return a GraphQLSchema which contains generated GraphQL types out of the properties provided to the builder
*/