Method: GraphQL::Schema::Field#name

Defined in:
lib/graphql/schema/field.rb

#nameString (readonly) Also known as: graphql_name

Returns the GraphQL name for this field, camelized unless camelize: false is provided.

Returns:

  • (String)

    the GraphQL name for this field, camelized unless camelize: false is provided



21
22
23
# File 'lib/graphql/schema/field.rb', line 21

def name
  @name
end