-
Notifications
You must be signed in to change notification settings - Fork 21
Run the persisted documents plugin before the usage reporting and registry plugin #1355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reorders the plugin execution in the gateway runtime to ensure the persisted documents plugin runs before the registry plugin. This change ensures that queries are properly discovered by the persisted documents plugin before being reported by the usage reporting and registry functionality.
- Reordered plugin execution sequence in the gateway runtime
- Added a changeset documenting the plugin execution order change
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/runtime/src/createGatewayRuntime.ts | Swapped the order of persistedDocumentsPlugin and registryPlugin in the plugins array |
.changeset/five-pillows-turn.md | Added changeset entry documenting the plugin reordering change |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-hive/gateway |
1.16.1-alpha-6efe9e35d4088a69d106c2d21d4a5b1af1e90d79 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/nestjs |
1.0.20-alpha-6efe9e35d4088a69d106c2d21d4a5b1af1e90d79 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/plugin-opentelemetry |
1.3.64-alpha-6efe9e35d4088a69d106c2d21d4a5b1af1e90d79 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/plugin-prometheus |
1.3.52-alpha-6efe9e35d4088a69d106c2d21d4a5b1af1e90d79 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/gateway-runtime |
1.10.1-alpha-6efe9e35d4088a69d106c2d21d4a5b1af1e90d79 |
npm ↗︎ unpkg ↗︎ |
🚀 Snapshot Release (Bun Docker Image)The latest changes of this PR are available as image on GitHub Container Registry (based on the declared
|
🚀 Snapshot Release (Node Docker Image)The latest changes of this PR are available as image on GitHub Container Registry (based on the declared
|
Ref GW-440
TODO