Class: GraphQL::Schema::Printer::IntrospectionPrinter

Inherits:
Language::Printer show all
Defined in:
lib/graphql/schema/printer.rb

Constant Summary

Constants inherited from Language::Printer

Language::Printer::OMISSION

Instance Method Summary collapse

Methods inherited from Language::Printer

#print

Instance Method Details



97
98
99
# File 'lib/graphql/schema/printer.rb', line 97

def print_schema_definition(schema)
  print_string("schema {\n  query: Root\n}")
end