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

fastify-session should use onRequest hook #191

Closed
QEDK opened this issue Aug 22, 2021 · 1 comment
Closed

fastify-session should use onRequest hook #191

QEDK opened this issue Aug 22, 2021 · 1 comment

Comments

@QEDK
Copy link

QEDK commented Aug 22, 2021

Currently, the sessionStore emits a Fastify deprecation warning like this:
(node:12637) [FSTDEP006] FastifyDeprecation: You are decorating Request/Reply with a reference type. This reference is shared amongst all requests. Use onRequest hook instead. Property: sessionStore
In a future version this will result in fastify-session being incompatible. We should use the available onRequest hook to handle the session data.

@QEDK
Copy link
Author

QEDK commented Aug 22, 2021

Dupe of #137

@QEDK QEDK closed this as completed Aug 22, 2021
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

No branches or pull requests

1 participant