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

Fix deprecation alert for Fastify3.0.0 #109

Merged

Conversation

migramcastillo
Copy link
Contributor

I've just updated to Fastify v3.0.0 on a project and I'm noticing this warning/info log:

[FSTDEP001] FastifyDeprecation [FSTDEP001]: You are accessing the Node.js core request object via "request.req", Use "request.raw" instead

This is caused by using request.req in fastifySession.js. Modifying these to request.raw fix this alert, test still passed successfully

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a78dd8d on migramcastillo:fix/deprecation-alert-fastifyv3 into fd54bbc on SerayaEryn:master.

@zekth zekth mentioned this pull request Jul 21, 2020
@bardak-dev
Copy link

any plans to merge?

Copy link
Owner

@SerayaEryn SerayaEryn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SerayaEryn SerayaEryn merged commit 38e8e41 into SerayaEryn:master Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants