Class GraphQLSchemaExtensionsKt
-
- All Implemented Interfaces:
public final class GraphQLSchemaExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static String
print(GraphQLSchema $self, Boolean includeIntrospectionTypes, Boolean includeScalarTypes, Boolean includeDefaultSchemaDefinition, Boolean includeDirectives, Predicate<String> includeDirectivesFilter, Boolean includeDirectiveDefinitions)
Prints out SDL representation of a target schema. -
-
Method Detail
-
print
final static String print(GraphQLSchema $self, Boolean includeIntrospectionTypes, Boolean includeScalarTypes, Boolean includeDefaultSchemaDefinition, Boolean includeDirectives, Predicate<String> includeDirectivesFilter, Boolean includeDirectiveDefinitions)
Prints out SDL representation of a target schema.
- Parameters:
includeIntrospectionTypes
- boolean flag indicating whether SDL should include introspection typesincludeScalarTypes
- boolean flag indicating whether SDL should include custom schema scalarsincludeDefaultSchemaDefinition
- boolean flag indicating whether SDL should include schema definition if using default root type namesincludeDirectives
- boolean flag indicating whether SDL should include directive informationincludeDirectivesFilter
- Predicate to filter out specific directives.includeDirectiveDefinitions
- Include the definitions of directives at the top of the schema
-
-
-
-