Skip to content

Commit

Permalink
Fixed execution engine docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Aug 10, 2022
1 parent 30b33fd commit bd604c7
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions website/src/docs/hotchocolate/execution-engine/index.md
Expand Up @@ -4,20 +4,25 @@ title: Overview

In this section we will learn about the Hot Chocolate execution engine.

<iframe width="560" height="315"
src="https://www.youtube.com/embed/Ut33sSTYmgw"frameborder="0"
allowfullscreen></iframe>

<iframe width="560" height="315"
src="https://www.youtube.com/embed/WU553aF-AWQ"frameborder="0"
allowfullscreen></iframe>

# Request Middleware

The GraphQL execution is abstracted into a request pipeline composed of many request middleware. Each request middleware represents one part of executing a GraphQL request, like the parsing of the GraphQL request document or the semantical validation of the GraphQL request document.

<iframe width="560" height="315"
src="https://www.youtube.com/embed/Ut33sSTYmgw"frameborder="0"
allowfullscreen></iframe>

# Field middleware

Field middleware allows us to create reusable logic that is run before or after a resolver. It also allows us to access or even modify the result produced by a resolver.

[Learn more about field middleware](/docs/hotchocolate/execution-engine/field-middleware)

# Resolver Compiler

The resolver compiler will compile for each resolver an optimized resolver pipeline. The resolver compiler can be customized by providing parameter expression builder.

<iframe width="560" height="315"
src="https://www.youtube.com/embed/C2YSeVK6Dck"frameborder="0"
allowfullscreen></iframe>

0 comments on commit bd604c7

Please sign in to comment.