public class GraphQLSchemaExtensionsKt
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
print(graphql.schema.GraphQLSchema $receiver,
boolean includeIntrospectionTypes,
boolean includeScalarTypes,
boolean includeExtendedScalarTypes,
boolean includeDefaultSchemaDefinition,
boolean includeDirectives)
Prints out SDL representation of a target schema.
|
public static java.lang.String print(graphql.schema.GraphQLSchema $receiver, boolean includeIntrospectionTypes, boolean includeScalarTypes, boolean includeExtendedScalarTypes, boolean includeDefaultSchemaDefinition, boolean includeDirectives)
Prints out SDL representation of a target schema.
includeIntrospectionTypes
- boolean flag indicating whether SDL should include introspection typesincludeScalarTypes
- boolean flag indicating whether SDL should include custom schema scalarsincludeExtendedScalarTypes
- boolean flag indicating whether SDL should include extended scalars (e.g. Long)
supported by graphql-java, if set will automatically also set the includeScalarTypes flagincludeDefaultSchemaDefinition
- boolean flag indicating whether SDL should include schema definition if using
default root type namesincludeDirectives
- boolean flag indicating whether SDL should include directive information