Repository navigation
fix: allow snake_case metadata keys in error catalogs - #149
Conversation
Accept underscores and hyphens in metadata keys while preserving existing camelCase keys and rejecting invalid characters. Co-authored-by: Codex <noreply@openai.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Allow error catalogs to declare snake_case metadata keys such as
namespace_idandlimit_per_request. Keys may contain underscores and hyphens after an initial lowercase ASCII letter; existing camelCase keys remain valid. Invalid characters and duplicate keys are still rejected.Validation: full race test suite, Go vet, reproducible generation, and Buf compatibility against master. Regression tests cover accepted keys, preservation in generated JSON, and invalid keys.
Co-authored-by: Codex noreply@openai.com
Summary by CodeRabbit