Method: GraphQL::Function.arguments

Defined in:
lib/graphql/function.rb

.argumentsHash<String => GraphQL::Argument>

Returns Arguments for this function class, including inherited arguments.

Returns:

  • (Hash<String => GraphQL::Argument>)

    Arguments for this function class, including inherited arguments



50
51
52
53
54
55
56
# File 'lib/graphql/function.rb', line 50

def arguments
  if parent_function?
    own_arguments.merge(superclass.arguments)
  else
    own_arguments.dup
  end
end