-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Joe Grandja opened SPR-15657 and commented
Given this filter configuration for WebClient
:
this.webClient
.filter(filter1())
.filter(filter2())
.filter(filter3())
.filter(filter4())
The expectation is that the filters would be applied in the following order: filter1, filter2, filter3, filter4
. However, that is not the case, as they are applied in reverse order.
It seems a bit confusing compared to the way a Reactive stream is defined and executed in a top-down approach (the way the code reads).
Does it make sense to have the filters applied in the order they are defined - top-down approach?
Affects: 5.0 RC1
Issue Links:
- Simplify applying a strategy to requests from WebTestClient and WebTestClient [SPR-15691] #20250 Simplify applying a strategy to requests from WebTestClient and WebTestClient
0 votes, 5 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement