Class: GraphQL::SchemaDirectives::SchemaDirectivesDocumentFromSchemaDefinition

Inherits:
Language::DocumentFromSchemaDefinition
  • Object
show all
Defined in:
lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb

Instance Method Summary collapse

Instance Method Details

#build_argument_node(argument) ⇒ Object



28
29
30
31
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 28

def build_argument_node(argument)
  node = super
  merge_directives(node, argument)
end

#build_enum_type_node(enum_type) ⇒ Object



38
39
40
41
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 38

def build_enum_type_node(enum_type)
  node = super
  merge_directives(node, enum_type)
end

#build_enum_value_node(enum_value) ⇒ Object



43
44
45
46
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 43

def build_enum_value_node(enum_value)
  node = super
  merge_directives(node, enum_value)
end

#build_field_node(field_type) ⇒ Object



18
19
20
21
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 18

def build_field_node(field_type)
  node = super
  merge_directives(node, field_type)
end

#build_input_object_node(input_object) ⇒ Object



23
24
25
26
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 23

def build_input_object_node(input_object)
  node = super
  merge_directives(node, input_object)
end

#build_interface_type_node(interface_type) ⇒ Object



13
14
15
16
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 13

def build_interface_type_node(interface_type)
  node = super
  merge_directives(node, interface_type)
end

#build_object_type_node(object_type) ⇒ Object



8
9
10
11
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 8

def build_object_type_node(object_type)
  node = super
  merge_directives(node, object_type)
end

#build_union_type_node(union_type) ⇒ Object



33
34
35
36
# File 'lib/graphql/schema_directives/schema_directives_document_from_schema_definition.rb', line 33

def build_union_type_node(union_type)
  node = super
  merge_directives(node, union_type)
end