Uses of Class
graphql.schema.idl.SchemaPrinter.Options
Packages that use SchemaPrinter.Options
-
Uses of SchemaPrinter.Options in graphql.schema.idl
Fields in graphql.schema.idl declared as SchemaPrinter.OptionsMethods in graphql.schema.idl that return SchemaPrinter.OptionsModifier and TypeMethodDescriptionstatic SchemaPrinter.OptionsSchemaPrinter.Options.defaultOptions()SchemaPrinter.Options.descriptionsAsHashComments(boolean flag) Descriptions are defined as preceding string literals, however an older legacy versions of SDL supported preceding '#' comments as descriptions.SchemaPrinter.Options.includeAstDefinitionComments(boolean flag) Sometimes it is useful to allow printing schema comments.SchemaPrinter.Options.includeDirectiveDefinitions(boolean flag) This flag controls whether schema printer will include directive definitions at the top of the schema, but does not remove them from the field or type usage.SchemaPrinter.Options.includeDirectives(boolean flag) Allow to print directives.SchemaPrinter.Options.includeDirectives(Predicate<String> includeDirective) This is a Predicate that decides whether a directive element is printed.SchemaPrinter.Options.includeIntrospectionTypes(boolean flag) This will allow you to include introspection types that are contained in a schemaSchemaPrinter.Options.includeScalarTypes(boolean flag) This will allow you to include scalar types that are contained in a schemaSchemaPrinter.Options.includeSchemaDefinition(boolean flag) This will force the printing of the graphql schema definition even if the query, mutation, and/or subscription types use the default names.SchemaPrinter.Options.includeSchemaElement(Predicate<GraphQLSchemaElement> includeSchemaElement) This is a general purpose Predicate that decides whether a schema element is printed ever.SchemaPrinter.Options.setComparators(GraphqlTypeComparatorRegistry comparatorRegistry) The comparator registry controls the printing order for registeredGraphQLTypes.SchemaPrinter.Options.useAstDefinitions(boolean flag) This flag controls whether schema printer will use theGraphQLType's original AstTypeDefinitions when printing the type.Constructors in graphql.schema.idl with parameters of type SchemaPrinter.Options