Skip to content

feat: Add client option for edit all client requests/responses#1472

Merged
ernado merged 2 commits intoogen-go:mainfrom
abramskama:client-option-edit-req
Jun 5, 2025
Merged

feat: Add client option for edit all client requests/responses#1472
ernado merged 2 commits intoogen-go:mainfrom
abramskama:client-option-edit-req

Conversation

@abramskama
Copy link

Title: Add Request/Response editors option for clients

Description:

We have a need to append system-level fields to all requests and enrich client-side error responses.
This PR introduces request and response modifiers in clients as a proposed solution.

Adds support for modifying outgoing requests to include system-specific fields.

Enhances client error handling with additional context and formatting.

Designed to be extendable and minimally invasive to existing logic.

These improvements aim to unify system metadata handling and provide more informative error feedback for consumers.

@abramskama abramskama force-pushed the client-option-edit-req branch from bc97feb to 0ffc514 Compare June 3, 2025 14:50
@abramskama abramskama changed the title Add client option for edit all client requests/responses feat: Add client option for edit all client requests/responses Jun 3, 2025
@abramskama abramskama force-pushed the client-option-edit-req branch 3 times, most recently from 9ac9be6 to 07f9a02 Compare June 4, 2025 14:23
@abramskama abramskama force-pushed the client-option-edit-req branch from 07f9a02 to 88c6e52 Compare June 4, 2025 17:27
@abramskama abramskama force-pushed the client-option-edit-req branch from 88c6e52 to a014d9e Compare June 4, 2025 17:30
@ernado ernado merged commit cf3b157 into ogen-go:main Jun 5, 2025
15 checks passed
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.

2 participants