-
Notifications
You must be signed in to change notification settings - Fork 583
fix: do not allow reserved context keys in ServerContext or UserContext #3263
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: e78e15c The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
I like it!
Great idea ! You need help to actually finalize it ? |
It'd be great @EmrysMyrddin |
I will take a look :-) |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-yoga/apollo-link |
5.1.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/urql-exchange |
5.1.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
graphql-yoga |
5.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs-federation |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-inline-trace |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/apollo-managed-federation |
0.15.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-usage-report |
0.11.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apq |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-csrf-prevention |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-defer-stream |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-disable-introspection |
2.17.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-graphql-sse |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-jwt |
3.10.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-persisted-operations |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-prometheus |
6.11.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-response-cache |
3.18.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-sofa |
3.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-apollo-sandbox |
0.1.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-graphiql |
5.16.0-alpha-20250916134242-84e37e7f34704aa7434b00ca67392c98179ef766 |
npm ↗︎ unpkg ↗︎ |
Apollo Federation Subgraph Compatibility Results
Learn more: |
💻 Website PreviewThe latest changes are available as preview in: https://pr-3263.graphql-yoga.pages.dev |
✅ Benchmark Results
|
Do not allow reserved context keys in UserContext and ServerContext if they don't match
For example, you cannot have
request
as a key in UserContext or ServerContext unless it isRequest
like below;