Skip to content

refactor(dir): add google.rpc.Status for error messages#1064

Draft
csirmazbendeguz wants to merge 1 commit intomainfrom
refactor/google-status
Draft

refactor(dir): add google.rpc.Status for error messages#1064
csirmazbendeguz wants to merge 1 commit intomainfrom
refactor/google-status

Conversation

@csirmazbendeguz
Copy link
Copy Markdown
Contributor

@csirmazbendeguz csirmazbendeguz commented Mar 17, 2026

#1059

As per https://google.aip.dev/193 , we should use google.rpc.Status instead of fields like success or error_message

@github-actions github-actions bot added the size/S Denotes a PR that changes 50-199 lines label Mar 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 17, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedMar 18, 2026, 10:11 AM

@csirmazbendeguz csirmazbendeguz force-pushed the refactor/google-status branch 5 times, most recently from 1c33f52 to 38cc00b Compare March 17, 2026 17:45
@csirmazbendeguz csirmazbendeguz linked an issue Mar 17, 2026 that may be closed by this pull request
2 tasks
@csirmazbendeguz csirmazbendeguz force-pushed the refactor/google-status branch 2 times, most recently from a483aa3 to 16bb2b8 Compare March 17, 2026 19:41
Signed-off-by: Bendegúz Csirmaz <csirmazbendeguz@gmail.com>
@csirmazbendeguz csirmazbendeguz force-pushed the refactor/google-status branch from 16bb2b8 to 24d7a33 Compare March 18, 2026 10:11
@csirmazbendeguz
Copy link
Copy Markdown
Contributor Author

it looks like googleapis doesn't support protobuf 7 yet so this PR is blocked

Comment on lines +59 to +61
// success, error_message was removed in favor of error
reserved 1, 2;
reserved "success", "error_message";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to keep gRPC contracts compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Standardize Referrer API

2 participants