Bad code snippet:
readonly sharedAccessSignature: SharedAccessSignatureOperations;
What it should do:
The current guideline suggesting that subclients must be exposed only through get-prefixed methods with a Client suffix is out of date for this generated code. Our codegen intentionally emits readonly properties typed as FooOperations, so the guidance should be updated to reflect the current pattern rather than flagging it as incorrect.
Good code snippet:
readonly sharedAccessSignature: SharedAccessSignatureOperations;
Bad code snippet:
What it should do:
The current guideline suggesting that subclients must be exposed only through
get-prefixed methods with aClientsuffix is out of date for this generated code. Our codegen intentionally emits readonly properties typed asFooOperations, so the guidance should be updated to reflect the current pattern rather than flagging it as incorrect.Good code snippet: