class GraphQL::Rails::Fields

Object that transforms key lookups on an object to the active field naming convention, delegating all remaining methods as-is.

Public Instance Methods

[](key) click to toggle source
# File lib/graphql/rails/fields.rb, line 6
def [](key)
  __getobj__[Types.to_field_name(key)]
end