Back to Graphql Platform

Overview

website/src/docs/hotchocolate/v15/execution-engine/index.md

16.1.0-p.1.10847 B
Original Source

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.

<Video videoId="Ut33sSTYmgw" />

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

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.

<Video videoId="C2YSeVK6Dck" />