Skip to content

Validate operation client parameters#3761

Merged
live1206 merged 10 commits intoAzure:feature/v3from
live1206:validate-operation-parameter
Oct 10, 2023
Merged

Validate operation client parameters#3761
live1206 merged 10 commits intoAzure:feature/v3from
live1206:validate-operation-parameter

Conversation

@live1206
Copy link
Member

@live1206 live1206 commented Sep 21, 2023

There are parameters default as client in operations, which is wrong in the first place.
Generator does not throw on this, but azure-sdk-for-net code failed to build.
It would be better to fail earlier during generation.

@live1206 live1206 added the Mgmt This issue is related to a management-plane library. label Sep 21, 2023
@live1206 live1206 marked this pull request as ready for review September 25, 2023 03:03
@live1206 live1206 marked this pull request as draft September 26, 2023 00:47
@live1206 live1206 marked this pull request as ready for review October 9, 2023 02:35
@live1206
Copy link
Member Author

live1206 commented Oct 9, 2023

Verified in Azure/azure-sdk-for-net#39149

@live1206 live1206 merged commit f1d32fa into Azure:feature/v3 Oct 10, 2023
@live1206 live1206 deleted the validate-operation-parameter branch October 10, 2023 01:22
live1206 added a commit to live1206/autorest.csharp that referenced this pull request Dec 11, 2023
* Validate operation client parameters

* ignore case

* Address PR comment

* update

* minor

* update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants