INNER CODE UNIT · Java
typeExtension
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:178
public Builder typeExtension(Class<?> typeExtension) {
this.typeExtensions.add(typeExtension);
return this;
}
/**
* Register a type function to the graphql processor
*
* @param typeFunction a type function
* @return the builder after registering the type function in the graphql processor
*/
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)