-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update Roslyn Analyzers #23793
Update Roslyn Analyzers #23793
Conversation
Oops, I forgot to create this branch from my |
9660304
to
2054711
Compare
Update Azure.ClientSdk.Analyzers and suppress newly-added AZC0016. Relates to Azure/azure-sdk-tools#1961
2054711
to
bbbbcec
Compare
@pakrym @ShivangiReja @AlexanderSher turns out the generator generates lowercase "-preview" suffixes. I can't really add exceptions, either. I would have to define hand-written models, but presumably none of these versions have shipped yet because they are all under "Generated". So should we just "break" them instead? Presumably, few if any people will be broken because for all but a couple of these it's the only version. Or in cases like this for generated code, should we use project-global suppressions? |
sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClientOptions.ServiceVersion.cs
Show resolved
Hide resolved
Manually declaring this class and supressing codegen ensures that: 1. ServiceVersion members are not overwritten, preserving compatibility 2. ServiceVersion members can now use PascalCase For more information on this issues, see: - Azure/autorest.csharp#1524 - Azure#24153 - Azure#23793 - Azure/autorest.csharp#1497
…ew API version in the PhoneNumbers SDK (#26029) * Generate SDK for PhoneNumbers API version 2022-01-11-preview2 * Add session recordings for latest API version * Update recorded sessions for failing tests These recordings are the same as the previous ones, but with the new API version. This had to be done due to an issue with the sanitizer. * Suppress ServiceVersion member name checks * Add missing ServiceVersion member * Don't auto generate PhoneNumbersClientOptions Manually declaring this class and supressing codegen ensures that: 1. ServiceVersion members are not overwritten, preserving compatibility 2. ServiceVersion members can now use PascalCase For more information on this issues, see: - Azure/autorest.csharp#1524 - #24153 - #23793 - Azure/autorest.csharp#1497 * Update API version in client and test recordings TODO: Update autorest config file once the spec is merged * Use latest autorest spec * Add changelog entry for 1.1.0-beta.1 release
Resolves Azure/azure-sdk-tools#1961