Skip to content

fix(client): require interceptor request payloads - #1347

Open
ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:not_nullable_payload
Open

ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:not_nullable_payload

Conversation

@ehsavoie

Copy link
Copy Markdown
Collaborator

Provide a non-null request to client interceptors and reject null payloads at construction. For REST extended agent card calls, expose the tenant to interceptors and use the returned tenant when building the request URL.

Add tests for tenant interception and null payload validation.

@ehsavoie
ehsavoie force-pushed the not_nullable_payload branch from 67ce064 to 539044b Compare November 19, 2026 13:33
Provide a non-null request to client interceptors and reject null payloads at construction. For REST extended agent card calls, expose the tenant to interceptors and use the returned tenant when building the request URL.

Add tests for tenant interception and null payload validation.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@ehsavoie
ehsavoie force-pushed the not_nullable_payload branch from 539044b to 28feba6 Compare November 20, 2026 16:38

This branch has not been deployed

No deployments
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