lib/rails/graphql/helpers/with_arguments.rb
# A short cute for arguments named and typed as id
A short cute for arguments named and typed as id
A short cute for arguments named and typed as id
def id_argument(*args, **xargs, &block)
          name = args.size >= 1 ? args.shift : :id
          xargs[:null] = false unless xargs.key?(:null)
          argument(name, :id, *args, **xargs, &block)
        end
def id_argument ( * args , ** xargs , & block ) name = args . size >= 1 ? args . shift : :id xargs [ :null ] = false unless xargs . key? ( :null ) argument ( name , :id , * args , ** xargs , & block ) end
A short cute for arguments named and typed as id
A short cute for arguments named and typed as id
args
xargs
block