-
Notifications
You must be signed in to change notification settings - Fork 10.3k
DeveloperExceptionMiddleware shouldn't have dependencies to ProblemDetails
#46339
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
Comments
Triage: @mitchdenny As part of #46969, can you see if |
Thanks for contacting us. We're moving this issue to the |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Moving to backlog due to reprioritization. |
Is there an existing issue for this?
Describe the bug
In #42212 was introduced the
IProblemDetailsService
and theDeveloperExceptionPageMiddleware
updated to includeProblemDetails
payload generation.However, it introduced an unnecessary dependency to
JsonOptions
andProblemDetails
that could have been avoided if the theProblemDetails
generation was implemented using anIDeveloperPageExceptionFilter
.Expected Behavior
DeveloperExceptionPageMiddleware
should not have dependencies toJsonOptions
orProblemDetails
but should have theProblemDetails
payload generated whenAddProblemDetails
is called..NET Version
.NET 7
The text was updated successfully, but these errors were encountered: