Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: require unique error details messages #1087

Merged

Conversation

shwoodard
Copy link
Contributor

AIP-193 expresses that for a certain message type, it must be unique in "details" on Status after the PR. That is there can be only one message of a certain type as an error detail.

Fixes: #1086

@shwoodard shwoodard requested a review from a team as a code owner May 4, 2023 17:49
Copy link
Contributor

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

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

thanks! small nit.

aip/general/0193.md Show resolved Hide resolved
@shwoodard shwoodard requested a review from jskeet May 6, 2023 15:07
aip/general/0193.md Outdated Show resolved Hide resolved
aip/general/0193.md Outdated Show resolved Hide resolved
@shwoodard shwoodard requested a review from alin04 May 9, 2023 23:46
AIP-193 expresses that for a certain message type, it must be unique in
"details" on Status. That is there can be only one message of a certain
type as an error detail.

Fixes: aip-dev#1086
@shwoodard shwoodard force-pushed the issue-1086-aip-193-details-type-uniqueness branch from dc88be4 to 2cb3652 Compare May 9, 2023 23:56
@shwoodard shwoodard merged commit bc8a688 into aip-dev:master May 9, 2023
2 checks passed
@shwoodard shwoodard deleted the issue-1086-aip-193-details-type-uniqueness branch May 9, 2023 23:59
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.

AIP-193 should express that error details should be unique by type
3 participants