Skip to content

Add middleware per Route/WebSocketRoute#2349

Merged
Kludex merged 1 commit intomasterfrom
middleware-per-route
Dec 1, 2023
Merged

Add middleware per Route/WebSocketRoute#2349
Kludex merged 1 commit intomasterfrom
middleware-per-route

Conversation

@Kludex
Copy link
Owner

@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
Contributor

That's a good PR!

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

@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
Contributor

Looks great to me!

@Kludex
Copy link
Owner 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
@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.

4 participants