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 FieldPrinter

print_fields

Methods included from DescriptionPrinter

print_description

Methods included from ArgsPrinter

#print_args, #print_input_value, #print_value

Methods included from DeprecatedPrinter

#print_deprecated

Class Method Details



293
294
295
296
# File 'lib/graphql/schema/printer.rb', line 293

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