lib/rails/graphql/request/component/field.rb
# Assign a given +field+ to this class. The field must be an output
# field, which means that +output_type?+ must be true. It also must be
# called exactly once per field.
Assign a given +field+ to this class. The field must be an output
field, which means that +output_type?+ must be true. It also must be
called exactly once per field.
Assign a given + field + to this class . The field must be an output field which means that + output_type? + must be true . It also must be called exactly once per field .
def assing_to(field)
          raise ArgumentError, <<~MSG.squish if defined?(@assigned)
            The "#{gql_name}" field is already assigned to #{@field.inspect}.
          MSG
          @field = field
        end
def assing_to ( field ) raise ArgumentError , <<~MSG . squish if defined? ( @assigned ) 
            The " #{ gql_name } " field is already assigned to  #{ @field . inspect } .
           MSG @field = field end
Assign a given +field+ to this class.
Assign a given + field + to this class .
field