INNER CODE UNIT · Java
additionalTypes
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:167
public Builder additionalTypes(Set<Class<?>> additionalTypes) {
this.additionalTypesList.addAll(additionalTypes);
return this;
}
/**
* Register a type extensions to the graphql processor
*
* @param typeExtension a type extension class
* @return the builder after registering the type extension in the graphql processor
*/
public Builder typeExtension(Class<?> typeExtension) {
this.typeExtensions.add(typeExtension);
return this;
}
/**
* Register a type function to the graphql processor