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

Consider ErrorHandlingMiddleware turning arbitrary errors into JSON error bodies #677

Open
czechboy0 opened this issue Nov 20, 2024 · 0 comments
Labels
kind/enhacement Improvements to existing feature. status/needs-design Needs further discussion and a concrete proposal.

Comments

@czechboy0
Copy link
Contributor

Motivation

See the discussion on this thread, we left it out of the implementation of SOAR-0011: apple/swift-openapi-runtime#126 (comment)

Proposed solution

We should consider it as an opt-in feature, similar behavior to Vapor (which enables it for debug only automatically).

Alternatives considered

No response

Additional information

No response

@czechboy0 czechboy0 added status/needs-design Needs further discussion and a concrete proposal. kind/enhacement Improvements to existing feature. labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhacement Improvements to existing feature. status/needs-design Needs further discussion and a concrete proposal.
Projects
None yet
Development

No branches or pull requests

1 participant