Azure / autorest.csharp

Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code
MIT License
141 stars 165 forks source link

Support how generated models will be resilient to changes allowed by the Azure Breaking Change rules #2354

Open annelo-msft opened 2 years ago

annelo-msft commented 2 years ago

See http://aka.ms/AzBreakingChangesPolicy

This issue tracks the design for this feature for .NET models from Cadl inputs.

[Description TBD]

annelo-msft commented 2 years ago

Related to resiliency work: https://github.com/Azure/autorest.csharp/issues/2354

annelo-msft commented 2 years ago

For the allowed REST API change to change an int32 to an int64, we will not use long for all int properties on models, because int is too integral to the .NET ecosystem. See discussion at video (MICROSOFT INTERNAL)