lib/rails/graphql/type_map.rb
def object_exist?(object, **xargs)
        xargs[:base_class] = find_base_class(object)
        xargs[:namespaces] ||= object.namespaces
        exist?(object, **xargs)
      end
# Find if a given object is already defined. If +exclusive+ is set to
# +false+, then it won't check the +:base+ namespace
Find if a given object is already defined.
Find if a given object is already defined .
def object_exist?(object, **xargs)
        xargs[:base_class] = find_base_class(object)
        xargs[:namespaces] ||= object.namespaces
        exist?(object, **xargs)
      end
def object_exist? ( object , ** xargs ) xargs [ :base_class ] = find_base_class ( object ) xargs [ :namespaces ] ||= object . namespaces exist? ( object , ** xargs ) end
Find if a given object is already defined.
Find if a given object is already defined .
object
xargs