Skip to content

feat: make request available in context by default - #1088

Open
adtennant wants to merge 2 commits into
mercurius-js:masterfrom
adtennant:master
Open

feat: make request available in context by default#1088
adtennant wants to merge 2 commits into
mercurius-js:masterfrom
adtennant:master

Conversation

@adtennant

@adtennant adtennant commented Mar 13, 2024

Copy link
Copy Markdown

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.

@mcollina mcollina left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@jonnydgreen jonnydgreen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mcollina

Copy link
Copy Markdown
Collaborator

CI does not seem happy

@jonnydgreen

Copy link
Copy Markdown
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?

@mcollina mcollina left a comment

Copy link
Copy Markdown
Collaborator

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?

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.

3 participants