Skip to main content

Available Middlewares

There are many useful Resolver Map Middlewares available to quickly mock and augment GraphQL APIs. Learn how to create your own custom middlewares. Have a useful Resolver Map Middleware to share with the community? Open a PR to add it here.

embed​

Manage and manipulate Resolver Maps by using embed to add Resolvers and/or Resolver Wrappers.

layer​

Lazily add layering of Resolvers via Resolver Map partials with layer, optionally applying Resolver Wrappers. See the guide for examples.

Falso​

Using Falso with the Resolver Map Middleware from @graphql-mocks/falso provides an extremely quick way to automatically mock any GraphQL schema.

  • Automatically mock an entire schema
  • Fallbacks to Falso data based on field-name heuristics
  • Configurable Falso functions per GraphQL field
  • Provide dynamic ranges for list types