@PublicApi public class SchemaTransformer extends java.lang.Object
GraphQLSchema
object.Constructor and Description |
---|
SchemaTransformer() |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
transform(GraphQLSchema schema,
GraphQLTypeVisitor visitor) |
static GraphQLSchema |
transformSchema(GraphQLSchema schema,
GraphQLTypeVisitor visitor)
Transforms a GrapQLSchema and returns a new GraphQLSchema object.
|
public static GraphQLSchema transformSchema(GraphQLSchema schema, GraphQLTypeVisitor visitor)
schema
- visitor
- public GraphQLSchema transform(GraphQLSchema schema, GraphQLTypeVisitor visitor)