feat(template): derive ErrorTemplate from proto Template option#20
feat(template): derive ErrorTemplate from proto Template option#20
Conversation
yordis
commented
May 6, 2026
- Lets services declare their error contract once in proto and pick it up in Go without hand-rewriting the same domain/reason/code/visibility/help/metadata in two places.
- Field-level FieldOptions (visibility, value/default_value) drive per-instance metadata, so a populated proto message becomes a fully-formed error without per-call boilerplate.
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
PR SummaryMedium Risk Overview Extends Updates repo tooling: introduces Reviewed by Cursor Bugbot for commit 6191c3f. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Warning Rate limit exceeded
To continue reviewing without waiting, purchase usage credits in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…mapping Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>