lib/rails/graphql/native/visitor.rb
# Send the variable object to the set block
Send the variable object to the set block
Send the variable object to the set block
def end_visit_variable_definition(node)
          return unless @visit&.include?('variable_definition')
          stack[-2][:default] = stack.pop unless default_value(node).null?
          safe_call_block(stack.pop, node)
        end
def end_visit_variable_definition ( node ) return unless @visit &. include? ( 'variable_definition' ) stack [ - 2 ] [ :default ] = stack . pop unless default_value ( node ) . null? safe_call_block ( stack . pop , node ) end
Send the variable object to the set block
Send the variable object to the set block
node