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

adjust cookie parser invocation to earlier in the lifecycle chain #1009

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

mmason2-godaddy
Copy link
Contributor

Summary

createServers is too late for the cookie-parser middleware to be applied. In API apps, the express instance is already mutated before the server is created.

Changelog

  • adjust cookie parser invocation to earlier in the lifecycle chain

Test Plan

tests updated

@mmason2-godaddy mmason2-godaddy requested a review from a team as a code owner January 13, 2025 16:42
@mmason2-godaddy mmason2-godaddy merged commit e71aa0f into main Jan 13, 2025
2 checks passed
@mmason2-godaddy mmason2-godaddy deleted the cookie-parser-fix branch January 13, 2025 18:08
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