Module: ApolloFederation::InputObject::ClassMethods

Includes:
HasDirectives
Defined in:
lib/apollo-federation/input_object.rb

Instance Method Summary collapse

Methods included from HasDirectives

#add_directive, #federation_directives, #own_federation_directives

Instance Method Details

#inaccessibleObject



18
19
20
# File 'lib/apollo-federation/input_object.rb', line 18

def inaccessible
  add_directive(name: 'inaccessible')
end

#tag(name:) ⇒ Object



14
15
16
# File 'lib/apollo-federation/input_object.rb', line 14

def tag(name:)
  add_directive(name: 'tag', arguments: [name: 'name', values: name])
end