lib/graphql/execution/interpreter/runtime.rb
# This _begins_ the execution. Some deferred work
# might be stored up in lazies.
# @return [void]
This _begins_ the execution. Some deferred work
might be stored up in lazies.
This _begins_ the execution . Some deferred work might be stored up in lazies .
def run_eager
          root_operation = query.selected_operation
          root_op_type = root_operation.operation_type || "query"
          root_type = schema.root_type_for_operation(root_op_type)
          path = []
          set_all_interpreter_context(query.root_value, nil, nil, path)
          object_proxy = authorized_new(root_type, query.root_value, context, path)
          object_proxy = schema.sync_lazy(object_proxy)
          if object_proxy.nil?
            write_in_response(path, nil)
          else
            evaluate_selections(path, context.scoped_context, object_proxy, root_type, root_operation.selections, root_operation_type: root_op_type)
          end
          delete_interpreter_context(:current_path)
          delete_interpreter_context(:current_field)
          delete_interpreter_context(:current_object)
          delete_interpreter_context(:current_arguments)
          nil
        end
def run_eager root_operation = query . selected_operation root_op_type = root_operation . operation_type || "query" root_type = schema . root_type_for_operation ( root_op_type ) path = [ ] set_all_interpreter_context ( query . root_value , nil , nil , path ) object_proxy = authorized_new ( root_type , query . root_value , context , path ) object_proxy = schema . sync_lazy ( object_proxy ) if object_proxy . nil? write_in_response ( path , nil ) else evaluate_selections ( path , context . scoped_context , object_proxy , root_type , root_operation . selections , root_operation_type : root_op_type ) end delete_interpreter_context ( :current_path ) delete_interpreter_context ( :current_field ) delete_interpreter_context ( :current_object ) delete_interpreter_context ( :current_arguments ) nil end
This _begins_ the execution.
This _begins_ the execution .
# Root .authorized? returned false.
None
void