deprecate the GraphQL packages

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-11 11:19:08 +02:00
parent fdcf172cec
commit 9def1e95ab
5 changed files with 10 additions and 37 deletions
+1 -26
View File
@@ -1,28 +1,3 @@
# 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:
1. Register the router in `packages/backend/src/index.ts`:
```ts
const graphqlEnv = useHotMemoize(module, () => createEnv('graphql'));
const service = createServiceBuilder(module)
.loadConfig(configReader)
/** several different routers */
.addRouter('/graphql', await graphql(graphqlEnv));
```
2. Start the backend
```bash
yarn workspace example-backend start
```
This will launch the full example backend.
This package has been deprecated, consider using [@frontside/backstage-plugin-graphql-backend](https://www.npmjs.com/package/@frontside/backstage-plugin-graphql-backend) instead.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-graphql-backend",
"description": "An experimental Backstage backend plugin for GraphQL",
"description": "Deprecated, consider using @frontside/backstage-plugin-graphql-backend instead",
"version": "0.1.44-next.2",
"main": "src/index.ts",
"types": "src/index.ts",