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

Template client is out-dated and needs to be updated, removing or updating ClientVersion #3508

Closed
ahsonkhan opened this issue Apr 6, 2022 · 1 comment
Assignees
Labels
Azure.Core bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. good first issue This issue tracks work that may be a good starting point for a first-time contributor

Comments

@ahsonkhan
Copy link
Member

SDK authors start with the template client and might incorrectly assume we want a ClientVersion() method.

This is not what we want for SDKs, and hence the template client needs to be updated to reflect the correct pattern here.

cc @LarryOsterman, @RickWinter

It showed up in Attestation APIView because it started off as a template client:

std::string const& ClientVersion() const { return m_apiVersion; }

https://apiview.dev/Assemblies/Review/5b2efd771af642728e4796813564404b#Azure::Security::Attestation::AttestationAdministrationClient

image

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 6, 2022
@RickWinter RickWinter added bug This issue requires a change to an existing behavior in the product in order to be resolved. Azure.Core Client This issue points to a problem in the data-plane of the library. labels Apr 22, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 22, 2022
@LarryOsterman
Copy link
Member

Removing ClientVersion from Template as a part of updating Template to match service requirements.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Core bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. good first issue This issue tracks work that may be a good starting point for a first-time contributor
Projects
None yet
Development

No branches or pull requests

4 participants