[Rule] breaking changes, when x-ms-discriminator-value changes
- Langage dominant
- C#
- Étoiles
- 290
- Forks
- 50
- Merge moyen
- 5 j 13 h
- PR mergées (30 j)
- 5
Description
Case: https://github.com/Azure/azure-rest-api-specs/pull/20376#discussion_r959039927
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).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue names no file, test, or entry point. Start by locating how existing breaking-change rules are represented in this C# command-line tool, then trace comparison handling for x-ms-discriminator-value. Done means a changed value is reported as breaking while unchanged values are not.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- api, cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100