You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
[Feature] generate subclient with public constructor #4983
explore augmenting the @clientInitializer decorator onto a namespace or interface which could convert it to a SubClient with a public initializer
Codegen will generate this client as above:
client name suffix with Client
add an extra public client constructor which can initialize itself
Then there will be three kind of client:
service Client
sub client : has no public constructor, it only can be created by the parent.
sub client with public constructor: it has public constructor, it can be created by parent, also can be created by itself.
Activity
chunyu3 commentedon Aug 9, 2024
explore augmenting the @clientInitializer decorator onto a namespace or interface which could convert it to a SubClient with a public initializer
Codegen will generate this client as above:
Then there will be three kind of client:
service Client
sub client : has no public constructor, it only can be created by the parent.
sub client with public constructor: it has public constructor, it can be created by parent, also can be created by itself.
JoshLove-msft commentedon Mar 2, 2026
This is done