Package graphql.schema.transform
Class FieldVisibilitySchemaTransformation
- java.lang.Object
-
- graphql.schema.transform.FieldVisibilitySchemaTransformation
-
@PublicApi public class FieldVisibilitySchemaTransformation extends java.lang.Object
Transforms a schema by applying a visibility predicate to every field.
-
-
Constructor Summary
Constructors Constructor Description FieldVisibilitySchemaTransformation(VisibleFieldPredicate visibleFieldPredicate)
FieldVisibilitySchemaTransformation(VisibleFieldPredicate visibleFieldPredicate, java.lang.Runnable beforeTransformationHook, java.lang.Runnable afterTransformationHook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLSchema
apply(GraphQLSchema schema)
-
-
-
Constructor Detail
-
FieldVisibilitySchemaTransformation
public FieldVisibilitySchemaTransformation(VisibleFieldPredicate visibleFieldPredicate)
-
FieldVisibilitySchemaTransformation
public FieldVisibilitySchemaTransformation(VisibleFieldPredicate visibleFieldPredicate, java.lang.Runnable beforeTransformationHook, java.lang.Runnable afterTransformationHook)
-
-
Method Detail
-
apply
public final GraphQLSchema apply(GraphQLSchema schema)
-
-