Skip to content

Update protocol methods using overload if there is ambiguity#36351

Merged
pshao25 merged 25 commits intoAzure:mainfrom
azure-sdk:auto-update-autorest-3.0.0-alpha.20230517.5
Jul 7, 2023
Merged

Update protocol methods using overload if there is ambiguity#36351
pshao25 merged 25 commits intoAzure:mainfrom
azure-sdk:auto-update-autorest-3.0.0-alpha.20230517.5

Conversation

@azure-sdk
Copy link
Collaborator

@azure-sdk azure-sdk commented May 18, 2023

This is the change we are going to apply after Azure/autorest.csharp#3412
For GAed libraries we add the config: keep-non-overloadable-protocol-signature: true to keep the signature unchanged.
For non-GAed libraries we let the protocol methods to change and need to update the calls to the protocol method.

@github-actions github-actions bot added App Configuration Azure.ApplicationModel.Configuration Cognitive - Language Confidential Ledger DevCenter EngSys This issue is impacting the engineering system. Load Test Service Storage Storage Service (Queues, Blobs, Files) Synapse labels May 18, 2023
@azure-sdk
Copy link
Collaborator Author

azure-sdk commented May 18, 2023

@pshao25 pshao25 changed the title Autorest Regen Preview to 3.0.0-alpha.20230517.5 by Pan Shao from refs/pull/3412/head Update protocol methods using overload if there is ambiguity May 23, 2023
@pshao25 pshao25 marked this pull request as ready for review May 23, 2023 03:25
@pshao25 pshao25 requested a review from lirenhe as a code owner May 23, 2023 03:25
@chunyu3
Copy link
Member

chunyu3 commented May 23, 2023

LGTM

@chunyu3
Copy link
Member

chunyu3 commented May 23, 2023

It is allowed to update the RequestContext required on existing SDKs which is not GAed.

@pshao25 pshao25 requested a review from quentinRobinson as a code owner July 4, 2023 10:21
@pshao25 pshao25 merged commit 962c8c1 into Azure:main Jul 7, 2023
@azure-sdk azure-sdk deleted the auto-update-autorest-3.0.0-alpha.20230517.5 branch October 19, 2023 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App Configuration Azure.ApplicationModel.Configuration Azure Load Testing Cognitive - Language Confidential Ledger DevCenter Do Not Merge EngSys This issue is impacting the engineering system. Storage Storage Service (Queues, Blobs, Files) Synapse

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants