Skip to main content

executeQueryOrMutationOrSubscriptionEvent

Callable


  • Implements the "Executing operations" section of the spec.

    Returns a Promise that will eventually resolve to the data described by The "Response" section of the GraphQL specification.

    If errors are encountered while executing a GraphQL field, only that field and its descendants will be omitted, and sibling fields will still be executed. An execution which encounters errors will still result in a resolved Promise.

    Errors from sub-fields of a NonNull type may propagate to the top level, at which point we still log the error and null the parent field, which in this case is the entire response.


    Parameters

    Returns PromiseOrValue<ExecutionResult>