-
Notifications
You must be signed in to change notification settings - Fork 574
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
Add allowedHeaders
option to allow filtering Response and Request headers
#3188
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 2b34a0e The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 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 |
Apollo Federation Subgraph Compatibility Results
Learn more: |
💻 Website PreviewThe latest changes are available as preview in: https://ccb119ba.graphql-yoga.pages.dev |
✅ Benchmark Results
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
graphql-yoga-cloud-run-guide |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/apollo-link |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/urql-exchange |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
graphql-yoga |
5.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs-federation |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-inline-trace |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apq |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-csrf-prevention |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-defer-stream |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-disable-introspection |
2.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-graphql-sse |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-jwt |
2.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-persisted-operations |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-prometheus |
4.1.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-response-cache |
3.4.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-sofa |
3.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-graphiql |
5.2.0-alpha-20240322103234-2b34a0e7 |
npm ↗︎ unpkg ↗︎ |
@@ -341,45 +353,28 @@ export class YogaServer< | |||
}), | |||
|
|||
...(options?.plugins ?? []), | |||
// To make sure those are called at the end | |||
{ | |||
onPluginInit({ addPlugin }) { |
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 think this ensures that those plugins are always at the end. Otherwise plugins that add new plugins come after these.
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.
addPlugin
no longer adds plugins at the end of the plugin list. It adds the plugin in place, so this is no longer needed :-)
No description provided.