The most common way of using Resolver Wrappers is with the
embed Resolver Map Middleware function which can return a
Middleware that applies an array of Resolver Wrappers, in order.
In this example
embed produces a Middleware that applies the
logWrapper. Using the
higlight option on
Resolvers are selectively applied based on which parts of the schema are "highlighted". Here, all Field Resolvers
"*") on the
"Query" type are applied with the
For more details on
layer (which also has a
wrappers option), check out Managing Resolvers with Middlewares.