INNER CODE UNIT · Java
typeFunction
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:189
public Builder typeFunction(TypeFunction typeFunction) {
this.typeFunctions.add(typeFunction);
return this;
}
/**
* Set the always prettify property of the graphql annotations processor (whether or not to prettify the graphql names)
*
* @param shouldAlwaysPrettify a boolean flag
* @return the builder after setting the property
*/
public Builder setAlwaysPrettify(Boolean shouldAlwaysPrettify) {
this.shouldAlwaysPrettify = shouldAlwaysPrettify;
return this;
}
/**
* Set the relay object in the graphql annotations processor