Open
Description
Even though this SDK has shipped/GA'd, marking non-const methods as const is a non-breaking change so we can safely make this update and adhere to the C++ guidelines.
Other KeyVault Keys clients like KeyClient
are already correctly marking the methods as const, so we only need to update CryptographyClient
.
SDK Clients are designed to be immutable as per the guidelines, so it should be safe to mark them as const
so that a user referencing client instances as const&
will be able to call any of the marked methods:
✅ DO declare all client functions as const since service clients are intended to be immutable.
cc @LarryOsterman, @RickWinter
Codegen issue for context: https://github.com/Azure/autorest.cpp/issues/464
Metadata
Metadata
Assignees
Type
Projects
Status
Untriaged