Skip to content
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

How to handle the client-level parameters for method with non-required that parameters? #2607

Open
Tracked by #2618
MaryGao opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
HRLC P1 priority 1

Comments

@MaryGao
Copy link
Contributor

MaryGao commented Jun 20, 2024

In ARM service team may prompt subscriptionId into client-level parameters. Usually this mean most operations would require subscriptionId but not all. So we received customer's ask if there is a way to bypass the subscriptionId parameter for tenant-level operations and see issues.

In HLC we implemented this with the constructor overloading and see pr. But this would lead to issues when customers create client without subscriptionId but call any methods which require that parameter. Finally this would cause operation failure.

In this issue we'd like to look for a better solution in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HRLC P1 priority 1
Projects
None yet
Development

No branches or pull requests

2 participants