Skip to content

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

Merged
kabir merged 1 commit into
a2aproject:mainfrom
ehsavoie:enum_role
Nov 23, 2026
Merged

kabir merged 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 <[email protected]>
@kabir
kabir merged commit 1b37850 into a2aproject:main Nov 23, 2026
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