Skip to content

[Rule] breaking changes, when x-ms-discriminator-value changes #241

Open
@weidongxu-microsoft

Description

@weidongxu-microsoft

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions