-
Notifications
You must be signed in to change notification settings - Fork 111
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
Changes in ASP.NET Core v7 #191
Comments
I've found at least one problem so far, this used to work: services.AddProblemDetails().AddProblemDetailsConventions(); But now that gives:
Workaround: Hellang.Middleware.ProblemDetails.ProblemDetailsExtensions
.AddProblemDetails(services)
.AddProblemDetailsConventions(); |
I am seeing the same problem. @khellang can you comment on if we need both? Or yours calls the new one? Or yours overrides the new one? |
As mentioned elsewhere you can do this to resolve the issue: This lets the normal syntax work: |
ASP.NET Core v7 has some changes that deal with problem details.
Does anyone know how that impacts the middleware in this library, if at all?
(Is there any overlap now? If you've already upgraded to v7, would you mind advising me whether any changes were necessary, and whether you still use this library, etc.?)
The text was updated successfully, but these errors were encountered: