Skip to content

Conversation

@benjie
Copy link
Member

@benjie benjie commented Nov 10, 2020

Description

For pgSettings and additionalGraphQLContextFromRequest users may need a way to get "back" from the Node request to the Fastify request so that they can use the features of Fastify middleware. We already enable this via req._koaCtx for Koa, this PR adds req._fastifyRequest for Fastify (v3).

Fixes #1382

Performance impact

Negligible

Security impact

None known.

@benjie benjie merged commit a3cd8b8 into v4 Nov 10, 2020
@benjie benjie deleted the fastify-cookies branch November 10, 2020 12:09
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.

Version 4.10 with fastify does not support cookies in pgSettings

2 participants