lib/rails/graphql/helpers/registerable.rb
# Get or set a list of aliases for this object
Get or set a list of aliases for this object
Get or set a list of aliases for this object
def aliases(*list)
          if list.empty?
            defined?(@aliases) ? @aliases : Set.new
          else
            (@aliases ||= Set.new).merge list.flatten.map do |item|
              item.to_s.underscore.to_sym
            end
          end
        end
def aliases ( * list ) if list . empty? defined? ( @aliases ) ? @aliases : Set . new else ( @aliases ||= Set . new ) . merge list . flatten . map do | item | item . to_s . underscore . to_sym end end end
Get or set a list of aliases for this object
Get or set a list of aliases for this object
list