lib/rails/graphql/helpers/with_namespace.rb
# Add more namespaces to the list already defined. If the super class
# has already defined namespaces, the extend that list.
Add more namespaces to the list already defined. If the super class
has already defined namespaces, the extend that list.
Add more namespaces to the list already defined . If the super class has already defined namespaces the extend that list .
def namespace(*list)
          @namespaces = (superclass.try(:namespaces)&.dup || Set.new) \
            unless defined?(@namespaces)
          @namespaces.merge(normalize_namespaces(list))
        end
def namespace ( * list ) @namespaces = ( superclass . try ( :namespaces ) &. dup || Set . new ) unless defined? ( @namespaces ) @namespaces . merge ( normalize_namespaces ( list ) ) end
Add more namespaces to the list already defined.
Add more namespaces to the list already defined .
list