-
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
GraphQL Yoga driver for NestJS GraphQL #2525
Conversation
🦋 Changeset detectedLatest commit: f14235d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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: |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-yoga/apollo-link |
1.7.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/urql-exchange |
1.7.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/common |
3.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/graphiql |
3.0.10-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
graphql-yoga |
3.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs |
1.0.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs-federation |
1.0.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/node |
3.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-inline-trace |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apq |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-csrf-prevention |
1.4.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-defer-stream |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-disable-introspection |
0.7.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-graphql-sse |
1.4.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-persisted-operations |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-prometheus |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-response-cache |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-sofa |
1.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-graphiql |
3.8.0-alpha-20230328132821-f14235d8 |
npm ↗︎ unpkg ↗︎ |
❌ Benchmark FailedPerformance regression detected: it seems like your Pull Request adds some extra latency to GraphQL Yoga
|
💻 Website PreviewThe latest changes are available as preview in: https://ffff465a.graphql-yoga.pages.dev |
ca8f02b
to
d337489
Compare
4a716b4
to
ca0ee01
Compare
Moved from enisdenjo/graphql-yoga-nestjs#82.
# Conflicts: # pnpm-lock.yaml
# Conflicts: # pnpm-lock.yaml
Significant refactor and cleanup of https://github.com/enisdenjo/graphql-yoga-nestjs for v1.
TODO
Must usenpm
for the example and exclude from pnpm workspace because hoisting breaks NestJSFixed by applying singletons in lockfile through pnpm hooks (b05137d)
BREAKING CHANGES
subscriptionWithFilter
in YogaBaseDriver.YogaBaseDriver.yogaInstance
has been renamed toYogaBaseDriver.yoga
YogaBaseDriver
has been renamed toAbstractYogaDriver
@envelop/apollo-server-errors
, if you want to use it - supply it to the plugins yourselfgraphql
is now a peer dependencygraphql-yoga
is now a peer dependencyinstallSubscriptionHandlers
driver option has been dropped, please use thesubscriptions
option
@graphql-yoga/nestjs-federation
@nestjs/graphql@v10
, now at least v11 is required (Refactor schema generation to be independent of driver start nestjs/graphql#2435)