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

Add middleware per Route/WebSocketRoute #2349

Merged
merged 1 commit into from Dec 1, 2023
Merged

Conversation

Kludex
Copy link
Sponsor Member

@Kludex Kludex commented Nov 27, 2023

Tom expressed his opinion about this on #1286 (comment).

This will prevent the need of #2175, since we can add a middleware that limits the request body on the Route with it.

Related issues

@Kludex Kludex marked this pull request as ready for review November 27, 2023 09:53
@alex-oleshkevich
Copy link
Member

That's a good PR!

@Kludex Kludex added the hold Don't merge it label Nov 27, 2023
Copy link
Member

@abersheeran abersheeran left a comment

Choose a reason for hiding this comment

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

Good job!

@adriangb
Copy link
Member

Looks great to me!

@Kludex
Copy link
Sponsor Member Author

Kludex commented Nov 28, 2023

I'll wait a couple of days to see if @florimondmanca or @tomchristie wants to say something here.

@Kludex Kludex changed the title Add middleware per route Add middleware per Router/WebSocketRoute Nov 28, 2023
@Kludex Kludex changed the title Add middleware per Router/WebSocketRoute Add middleware per Route/WebSocketRoute Nov 28, 2023
@Kludex Kludex mentioned this pull request Nov 30, 2023
4 tasks
@Kludex Kludex merged commit 164b350 into master Dec 1, 2023
5 checks passed
@Kludex Kludex deleted the middleware-per-route branch December 1, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold Don't merge it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants