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

Clarify and log that return value of HandlerMethod is ignored if reason of @ResponseStatus present #31121

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Aug 28, 2023

@bclozel
Copy link
Member

bclozel commented Aug 28, 2023

I don't think we should add log statements for this. We could improve the javadoc to let the users know that the reason will be used to render the response entirely (and keep referring to the sendError method). I don't think it makes things clearer to refer to annotated methods in the description either.

@bclozel bclozel self-assigned this Sep 7, 2023
@bclozel bclozel added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 7, 2023
@bclozel bclozel added this to the 6.1.0-RC1 milestone Sep 7, 2023
@bclozel bclozel closed this in 94a49c4 Sep 7, 2023
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: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants