Skip to content

fix(spec-grpc): clarify invalid enum errors - #1349

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

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

Conversation

@ehsavoie

@ehsavoie ehsavoie commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Identify the field containing an invalid enum value in JSON-RPC requests and omit protobuf enum type names from the error. Fall back to reporting the value when the field cannot be identified.

Identify the field containing an invalid enum value in JSON-RPC requests and omit protobuf enum type names from the error. Fall back to reporting the value when the field cannot be identified.

Cover invalid values and supported JSON field conversions in parsing tests.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>

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