Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: make request available in context by default #1088

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adtennant
Copy link

@adtennant adtennant commented Mar 13, 2024

I know this is very easy to define a custom context for, but it's annoying to have to do it (or do reply.request) every time and this is a closer match to standard Fastify handlers.

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@jonnydgreen jonnydgreen left a comment

Choose a reason for hiding this comment

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

LGTM

@mcollina
Copy link
Collaborator

CI does not seem happy

@jonnydgreen
Copy link
Contributor

Looking at the error in the CI, I think the issue is fixed in main (by this PR the other day: #1090)

@adtennant Maybe worth a quick rebase and re-run to be on the safe side?

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

I just noticed this is missing a test. Could you add it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants