Method: GraphQL::Language::Nodes::Field.from_a

Defined in:
lib/graphql/language/nodes.rb

.from_a(filename, line, col, field_alias, name, arguments, directives, selections) ⇒ Object

rubocop:disable Metrics/ParameterLists



426
427
428
# File 'lib/graphql/language/nodes.rb', line 426

def self.from_a(filename, line, col, field_alias, name, arguments, directives, selections) # rubocop:disable Metrics/ParameterLists
  self.new(filename: filename, line: line, col: col, field_alias: field_alias, name: name, arguments: arguments, directives: directives, selections: selections)
end