resolversComposition transform allow you add middleware to your existing resolvers.
Add the following configuration to your Mesh config file:
For information about "bare" and "wrap" modes, please read the dedicated section.
String (bare | wrap)) - Specify to apply resolvers-composition transforms to bare schema or by wrapping original schema
Array of Object, required) - Array of resolver/composer to apply:
String, required) - The GraphQL Resolver path Example: Query.users
Any, required) - Path to the composer function Example: ./src/auth.js#authComposer