d3b6c6c12a
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0. - [Release notes](https://github.com/mswjs/msw/releases) - [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md) - [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0) --- updated-dependencies: - dependency-name: msw dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
GraphQL Backend
Getting Started
This is the GraphQL Backend plugin.
It is responsible for merging different graphql-plugins together to provide the end schema.
To run it within the backend do:
- Register the router in
packages/backend/src/index.ts:
const graphqlEnv = useHotMemoize(module, () => createEnv('graphql'));
const service = createServiceBuilder(module)
.loadConfig(configReader)
/** several different routers */
.addRouter('/graphql', await graphql(graphqlEnv));
- Start the backend
yarn workspace example-backend start
This will launch the full example backend.