Class: GraphQL::Schema::Printer::TypeKindPrinters::InterfacePrinter

Inherits:
Object
  • Object
show all
Extended by:
DescriptionPrinter, FieldPrinter
Defined in:
lib/graphql/schema/printer.rb

Class Method Summary collapse

Methods included from DescriptionPrinter

print_description

Methods included from FieldPrinter

print_fields

Methods included from ArgsPrinter

#print_args, #print_input_value, #print_value

Methods included from DeprecatedPrinter

#print_deprecated

Class Method Details


210
211
212
213
# File 'lib/graphql/schema/printer.rb', line 210

def self.print(type)
  "#{print_description(type)}"\
  "interface #{type.name} {\n#{print_fields(type)}\n}"
end