class GraphQL::Execution::Execute
A valid execution strategy @api private
Constants
- PROPAGATE_NULL
@api private
- SKIP
Just a singleton for implementing {Query::Context#skip} @api private
Public Instance Methods
execute(ast_operation, root_type, query)
click to toggle source
# File lib/graphql/execution/execute.rb, line 21 def execute(ast_operation, root_type, query) result = resolve_root_selection(query) lazy_resolve_root_selection(result, {query: query}) GraphQL::Execution::Flatten.call(query.context) end