Method: GraphQL::BaseType#get_field

Defined in:
lib/graphql/base_type.rb

#get_field(name) ⇒ GraphQL::Field?

Types with fields may override this

Parameters:

  • name (String)

    field name to lookup for this type

Returns:



157
158
159
# File 'lib/graphql/base_type.rb', line 157

def get_field(name)
  nil
end