Skip to content

SOAR-0015: Client response decoding error callback#913

Draft
mikolaj92 wants to merge 1 commit into
apple:mainfrom
mikolaj92:codex/soar-0015-response-decoding-error-callback
Draft

SOAR-0015: Client response decoding error callback#913
mikolaj92 wants to merge 1 commit into
apple:mainfrom
mikolaj92:codex/soar-0015-response-decoding-error-callback

Conversation

@mikolaj92
Copy link
Copy Markdown

Adds a draft SOAR proposal for a small client-side response decoding error callback.

This builds on the work in apple/swift-openapi-runtime#162 and #850. Those PRs identified the right production problem; this proposal uses a simpler model for the response decoding case.

The proposed API is one callback on Configuration that receives the wrapped ClientError, so adopters can report decoding failures centrally while keeping the thrown error unchanged.

Issue: #912
Prototype: https://github.com/mikolaj92/swift-openapi-runtime/tree/error-handler-observability

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.

1 participant