Skip to content

Conversation

@jafin
Copy link

@jafin jafin commented Aug 17, 2023

Allow option to filter ProblemDetails property to independently include/exclude Detail, ExceptionDetails

  • Shouldn't break existing API

Could replace options.IncludeExceptionDetails, as can achieve the same thing, but was left to avoid breaking change.

Not totally happy with the API, please provide input.
Another option considered was similar to AllowedHeaderNames having a HashSet of string props that are allowed in the ProblemDetail response ?

Alternatively the extension method approach listed in #194.

Assists to resolve #194

…tails) for response ProblemDetails response. Resolves khellang#194
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] ProblemDetails middleware allow send Detail property out of the box in Production

1 participant