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
Previously TCGC has helper functions like shouldGenerateConvenient to check whether generate convenient method, similar as protocol method. Majorly the helper function will check @convenientApi and @protocolApi decorators.
Issue background
Previously TCGC has helper functions like
shouldGenerateConvenient
to check whether generate convenient method, similar as protocol method. Majorly the helper function will check@convenientApi
and@protocolApi
decorators.Code
But when switching to using
sdkPackage
, there is no flag to indicate whether to generate convenient/protocol API.Solution
I think we could add two flags
shouldGenerateConvenient
andshouldGenerateProtocol
underSdkServiceMethod
in TCGC.The text was updated successfully, but these errors were encountered: