Method: GraphQL::Schema::Member::HasArguments#all_argument_definitions

Defined in:
lib/graphql/schema/member/has_arguments.rb

#all_argument_definitionsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



223
224
225
226
227
228
229
230
231
# File 'lib/graphql/schema/member/has_arguments.rb', line 223

def all_argument_definitions
  if !own_arguments.empty?
    all_defns = own_arguments.values
    all_defns.flatten!
    all_defns
  else
    EmptyObjects::EMPTY_ARRAY
  end
end