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

Document that ModelMap is not a supported argument type in WebFlux #33107

Closed
sbrannen opened this issue Jun 27, 2024 · 0 comments
Closed

Document that ModelMap is not a supported argument type in WebFlux #33107

sbrannen opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: documentation A documentation task
Milestone

Comments

@sbrannen
Copy link
Member

The Method Arguments documentation for WebFlux currently states that WebFlux controller methods can accept arguments of type Map, Model, or ModelMap to access the model.

However, ModelMap is actually not supported and results in exception due to a type mismatch.

We should therefore update the documentation to reflect this.

@sbrannen sbrannen added type: documentation A documentation task in: web Issues in web modules (web, webmvc, webflux, websocket) labels Jun 27, 2024
@sbrannen sbrannen added this to the 6.1.11 milestone Jun 27, 2024
@sbrannen sbrannen self-assigned this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant