diff --git a/plugins/graphql-backend/README.md b/plugins/graphql-backend/README.md index 970222fb1f..11453ec8bc 100644 --- a/plugins/graphql-backend/README.md +++ b/plugins/graphql-backend/README.md @@ -26,3 +26,18 @@ yarn workspace example-backend start ``` This will launch the full example backend. + +### New Backend System + +The Grahpql backend plugin has support for the [new backend system](https://backstage.io/docs/backend-system/), here's how you can set that up: +In your `packages/backend/src/index.ts` make the following changes: + +```diff ++ import { graphqlPlugin } from '@backstage/plugin-graphql-backend'; + +const backend = createBackend(); ++ backend.add(graphqlPlugin()); +// ... other feature additions + +backend.start(); +``` diff --git a/plugins/playlist-backend/README.md b/plugins/playlist-backend/README.md index c0055ebdf7..e336ec5b08 100644 --- a/plugins/playlist-backend/README.md +++ b/plugins/playlist-backend/README.md @@ -85,3 +85,21 @@ export default async function createPlugin(env: PluginEnvironment): Promise