Skip to content
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

apollo-server-fastify is using deprecated fastify packages #6381

Closed
tetchel opened this issue May 4, 2022 · 2 comments
Closed

apollo-server-fastify is using deprecated fastify packages #6381

tetchel opened this issue May 4, 2022 · 2 comments

Comments

@tetchel
Copy link

tetchel commented May 4, 2022

Starting my server, I get the following messages:

(node:3652446) [FST_MODULE_DEP_FASTIFY-ACCEPTS] FastifyWarning.fastify-accepts: fastify-accepts has been deprecated. Use @fastify/accepts@3.0.0 instead.

(node:3652446) [FST_MODULE_DEP_FASTIFY-CORS] FastifyWarning.fastify-cors: fastify-cors has been deprecated. Use @fastify/cors@7.0.0 instead.

These two dependencies in apollo-server-fastify need to be updated to point to the new package locations.

fastify-cors -> https://www.npmjs.com/package/@fastify/cors
fastify-accepts -> https://www.npmjs.com/package/@fastify/accepts

https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-fastify/package.json

@glasser
Copy link
Member

glasser commented May 4, 2022

Thanks — @SimenB has filed a PR to fix this at #6366. I just have one question to resolve before we can accept that change.

@glasser
Copy link
Member

glasser commented May 5, 2022

Fixed in #6366.

@glasser glasser closed this as completed May 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants