-
Notifications
You must be signed in to change notification settings - Fork 452
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
Rename CommandType to Name on resource command types #6350
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, other than compile error in tests. I think "Id" would be a better term as it indicates the uniqueness requirement more so than "Name".
I think we need to do regular breaking change notifications as we changed this after the rc. |
I prefer name because resources have a name, and endpoints have a name. Command names would be consistent. And I think name makes more sense because the value is being provided by the user. Id feels more appropriate if the value is auto-generated. |
bc1b356
to
eaab07e
Compare
eaab07e
to
e2d266c
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
It turns out we shipped commands in the resource server protocol so this change breaks ACA and we need to either revert all of it, or deprecate the old fields and add the new fields |
Description
Feedback from #6295 (comment).
Note that this is a source breaking change for people who have implemented the proto when they update the proto the identifer will change name. It's not a wire breaking change because the field id (
1
in this case) is the same.@joperezr Where should the
commandType
->name
breaking change be communicated? The model API is new in 9.0 so I believe can change at this point without breaking change notification.Checklist
<remarks />
and<code />
elements on your triple slash comments?