lib/rails/graphql/type/interface.rb
def implemented(object)
            fields.each do |name, field|
              defined = object.field?(name)
              invalid = defined && object.fields[name] !~ field
              raise ArgumentError, <<~MSG.squish if invalid
                The "#{object.gql_name}" object already has a "#{field.gql_name}" field and it
                is not equivalent to the one defined on the "#{gql_name}" interface.
              MSG

              object.proxy_field(field) unless defined
            end

            types << object
          end
# When attaching an interface to an object, copy the fields and add to
# the list of types. Pre-existing same-named fields with are not
# equivalent produces an exception.
When attaching an interface to an object, copy the fields and add to
the list of types. Pre-existing same-named fields with are not
equivalent produces an exception.
When attaching an interface to an object copy the fields and add to the list of types . Pre - existing same - named fields with are not equivalent produces an exception .
def implemented(object)
            fields.each do |name, field|
              defined = object.field?(name)
              invalid = defined && object.fields[name] !~ field
              raise ArgumentError, <<~MSG.squish if invalid
                The "#{object.gql_name}" object already has a "#{field.gql_name}" field and it
                is not equivalent to the one defined on the "#{gql_name}" interface.
              MSG
              object.proxy_field(field) unless defined
            end
            types << object
          end
def implemented ( object ) fields . each do | name , field | defined = object . field? ( name ) invalid = defined && object . fields [ name ] !~ field raise ArgumentError , <<~MSG . squish if invalid 
                The " #{ object . gql_name } " object already has a " #{ field . gql_name } " field and it
                is not equivalent to the one defined on the " #{ gql_name } " interface.
               MSG object . proxy_field ( field ) unless defined end types << object end
When attaching an interface to an object, copy the fields and add to
the list of types.
When attaching an interface to an object copy the fields and add to the list of types .
object