lib/rails/graphql/source/scoped_arguments.rb
def scoped_argument(param, type = :string, proc_method = nil, **settings, &block)
            block = proc_method if proc_method.present? && block.nil?
            argument = Argument.new(param, type, **settings, owner: self, &block)
            (@scoped_arguments ||= {})[argument.name] = argument
          end
# Add a new scoped param to the list
Add a new scoped param to the list
Add a new scoped param to the list
def scoped_argument(param, type = :string, proc_method = nil, **settings, &block)
            block = proc_method if proc_method.present? && block.nil?
            argument = Argument.new(param, type, **settings, owner: self, &block)
            (@scoped_arguments ||= {})[argument.name] = argument
          end
def scoped_argument ( param , type = :string , proc_method = nil , ** settings , & block ) block = proc_method if proc_method . present? && block . nil? argument = Argument . new ( param , type , ** settings , owner : self , & block ) ( @scoped_arguments ||= { } ) [ argument . name ] = argument end
Add a new scoped param to the list
Add a new scoped param to the list
param
type
proc_method
settings
block