You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: x-ms-discriminator-value is used in client to choose the correct type/class to initialize.
Changing its value will break SDK in runtime (there will be no API change, but SDK will fail to initialize the type in runtime), or client code (if customer uses REST API directly, and use its value to match the type).
The text was updated successfully, but these errors were encountered:
weidongxu-microsoft
changed the title
[Rule] flag as breaking changes, when x-ms-discriminator-value changes
[Rule] breaking changes, when x-ms-discriminator-value changes
Sep 5, 2022
I agree that this should be flagged by the breaking changes tooling. There may be cases where this isn't breaking, but there certainly are cases where it is, so we need to flag it.
Case: Azure/azure-rest-api-specs#20376 (comment)
Reason:
x-ms-discriminator-value
is used in client to choose the correct type/class to initialize.Changing its value will break SDK in runtime (there will be no API change, but SDK will fail to initialize the type in runtime), or client code (if customer uses REST API directly, and use its value to match the type).
The text was updated successfully, but these errors were encountered: