lib/rails/graphql/request/helpers/value_writers.rb
def raise_invalid_member!
            raise(FieldError, <<~MSG.squish)
              The #{gql_name} field result is not a member of #{type_klass.gql_name}.
            MSG
          end
# A problem when an object-based value is not a valid member of the
# +type_klass+ of this field
A problem when an object-based value is not a valid member of the
+type_klass+ of this field
A problem when an object - based value is not a valid member of the + type_klass + of this field
def raise_invalid_member!
            raise(FieldError, <<~MSG.squish)
              The #{gql_name} field result is not a member of #{type_klass.gql_name}.
            MSG
          end
def raise_invalid_member! raise ( FieldError , <<~MSG . squish ) 
              The  #{ gql_name }  field result is not a member of  #{ type_klass . gql_name } .
             MSG end
A problem when an object-based value is not a valid member of the
+type_klass+ of this field
A problem when an object - based value is not a valid member of the + type_klass + of this field