Skip to content

fix: call middlewares defined after koaMiddleware#232

Open
kaioduarte wants to merge 1 commit into
apollo-server-integrations:mainfrom
kaioduarte:fix/allow-middlewares-after
Open

fix: call middlewares defined after koaMiddleware#232
kaioduarte wants to merge 1 commit into
apollo-server-integrations:mainfrom
kaioduarte:fix/allow-middlewares-after

Conversation

@kaioduarte

Copy link
Copy Markdown

Not having the next function call can cause unexpected issues on the user's codebase, like on Strapi, it prevented the authentication hook from being called if declared after this middleware.

See strapi/strapi#21977

@codesandbox-ci

codesandbox-ci Bot commented Dec 4, 2024

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@matthew-gordon

Copy link
Copy Markdown
Collaborator

Looks good to me, I approved but someone with write access needs to approve as well to pass branch protections. @trevor-scheer or @BlenderDude any chance for a review and approval?

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.

2 participants