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

Allow setting the ProblemDetail.type via a MessageSource #30566

Closed
mzeijen opened this issue May 31, 2023 · 0 comments
Closed

Allow setting the ProblemDetail.type via a MessageSource #30566

mzeijen opened this issue May 31, 2023 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@mzeijen
Copy link

mzeijen commented May 31, 2023

As a user I would like to be able to provide a ProblemDetail.type via a MessageSource, just like I already can for the ProblemDetail.title and ProblemDetail.detail.

This makes it easier to define my own ProblemDetail types for the ProblemDetail created by the ResponseEntityExceptionHandler for the standard Spring exceptions.

Note: I have discussed this feature request with @rstoyanchev at Spring I/O 2023

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 31, 2023
@rstoyanchev rstoyanchev self-assigned this Jun 14, 2023
@rstoyanchev rstoyanchev added type: enhancement A general enhancement in: web Issues in web modules (web, webmvc, webflux, websocket) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 14, 2023
@rstoyanchev rstoyanchev modified the milestones: 6.1.0-M2, 6.1.0-M1 Jun 14, 2023
rstoyanchev added a commit that referenced this issue Jun 14, 2023
rstoyanchev added a commit that referenced this issue Jun 14, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this issue Jun 29, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this issue Jun 29, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this issue Jun 29, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this issue Jun 29, 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

No branches or pull requests

3 participants