Skip to content

Commit

Permalink
Merge pull request #392 from thefrontside/dl/entities-query
Browse files Browse the repository at this point in the history
Add `entities` GraphQL query
  • Loading branch information
taras authored Mar 25, 2024
2 parents c025e87 + c0e10f9 commit a316658
Show file tree
Hide file tree
Showing 20 changed files with 2,565 additions and 92 deletions.
8 changes: 8 additions & 0 deletions .changeset/selfish-kiwis-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@frontside/backstage-plugin-graphql-backend-module-catalog': minor
'@frontside/backstage-plugin-graphql-backend-node': patch
'@frontside/backstage-plugin-graphql-backend': patch
'backend': patch
---

Add GraphQL `entities` query with generated filter input types
1 change: 1 addition & 0 deletions packages/backend/src/plugins/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export default async function createPlugin(
logger: env.logger,
modules: [myModule, Catalog()],
loaders: { ...createCatalogLoader(env.catalog) },
context: (ctx) => ({ ...ctx, catalog: env.catalog }),
});
}
7 changes: 4 additions & 3 deletions plugins/graphql-backend-module-catalog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test": "backstage-cli package test",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"generate:types": "graphql-codegen -r ts-node/register",
"generate": "graphql-codegen -r ts-node/register",
"clean": "backstage-cli package clean"
},
"dependencies": {
Expand All @@ -47,14 +47,15 @@
"@backstage/plugin-auth-node": "^0.4.1",
"@backstage/plugin-catalog-node": "^1.5.0",
"@frontside/backstage-plugin-graphql-backend": "^0.1.7",
"@frontside/hydraphql": "^0.1.2",
"@frontside/hydraphql": "^0.1.3",
"@graphql-tools/load-files": "^7.0.0",
"@graphql-tools/utils": "^10.0.0",
"dataloader": "^2.1.0",
"graphql": "^16.6.0",
"graphql-modules": "^2.3.0",
"graphql-relay": "^0.10.0",
"graphql-type-json": "^0.3.2"
"graphql-type-json": "^0.3.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@backstage/cli": "^0.25.2",
Expand Down
Loading

0 comments on commit a316658

Please sign in to comment.