lib/rails/graphql/request/event.rb
def method_missing(method_name, *args, **xargs, &block)
            if OBJECT_BASED_READERS.include?(method_name)
              object if object.kind === method_name
            elsif current_value&.respond_to?(method_name)
              current_value&.public_send(method_name, *args, **xargs, &block)
            else
              super
            end
          end
# If the +method_name+ matches the kind of the current +object+, then
# it will return the object
If the +method_name+ matches the kind of the current +object+, then
it will return the object
If the + method_name + matches the kind of the current + object + then it will return the object
def method_missing(method_name, *args, **xargs, &block)
            if OBJECT_BASED_READERS.include?(method_name)
              object if object.kind === method_name
            elsif current_value&.respond_to?(method_name)
              current_value&.public_send(method_name, *args, **xargs, &block)
            else
              super
            end
          end
def method_missing ( method_name , * args , ** xargs , & block ) if OBJECT_BASED_READERS . include? ( method_name ) object if object . kind === method_name elsif current_value &. respond_to? ( method_name ) current_value &. public_send ( method_name , * args , ** xargs , & block ) else super end end
If the +method_name+ matches the kind of the current +object+, then
it will return the object
If the + method_name + matches the kind of the current + object + then it will return the object
method_name
args
xargs
block