-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
@nestjs/platform-fastify 7.4 is a breaking change #5171
Comments
same here, is breaking the Exception filters. |
It is also a breaking change for projects using GraphQL with Fastify, as |
I have the same problem with GraphQL using Fastify with |
I have the same problem with GraphQL using Fastify with apollo-server-fastify |
@robinsmedberg Check it out. I'm waiting too for the update from |
works fine in |
Also works fine for GraphQL with the following versions
Though the GraphQL playground is not working with |
any solution here? |
A very recent comment on the v3 roadmap issue in the Apollo Server repo looks like things are progressing, but it also seems lime it won't be a transparent upgrade: apollographql/apollo-server#2360 (comment) |
This version (https://github.com/autotelic/apollo-server-fastify) is maintained/updated & works with Fastify v3. |
It is not an official one, isn't it? |
It's not official, but works perfectly fine. |
[email protected] didn't work with installSubscriptionHandlers option. |
I found sometimes library missed fixed version. If you only install [email protected] and haven't had lock set alpha version, it might break now. |
Bug Report
Current behavior
7.2.x requires fastify 2.x.
7.4.x requires fastify 3.x.
Using 7.4x is breaking projects with fastify 2.x dependencies
throws error: Namespace '"/node_modules/fastify/fastify"' has no exported member 'ServerOptionsAsHttp'. ts(2694) [90, 32]
throws error: This expression is not callable.
Type 'typeof import("/node_modules/fastify/fastify")' has no call signatures.
Input Code
Expected behavior
Minor increments are non-breaking
Possible Solution
7.4 should be 8.x
Environment
The text was updated successfully, but these errors were encountered: