Class SchemaPrinter

java.lang.Object
graphql.schema.idl.SchemaPrinter

@PublicApi public class SchemaPrinter extends Object
This can print an in memory GraphQL schema back to a logical schema definition
  • Field Details

    • ExcludeGraphQLSpecifiedDirectivesPredicate

      public static final Predicate<String> ExcludeGraphQLSpecifiedDirectivesPredicate
      This predicate excludes all directives which are specified by the GraphQL Specification. Printing these directives is optional.
  • Constructor Details

    • SchemaPrinter

      public SchemaPrinter()
    • SchemaPrinter

      public SchemaPrinter(SchemaPrinter.Options options)
  • Method Details