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
Nowadays when we add a new decorator, TCGC needs to process it and add a new property to SDK model.
We would like to have a generic dictionary to store decorators for emitter to consume, so that we don't need to add a new property to SDK model for better extensibility.
decorators
{
"decoratorName": string, // The name should include namespace
"decoratorArguments": string[]
}
Issues to address:
how to filter which decorators to include in the generic dictionary
how to present the decorator arguments/values in the dictionary, such as JSON serialization, need to analyze the existing decorators
Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
Clear and concise description of the problem
Nowadays when we add a new decorator, TCGC needs to process it and add a new property to SDK model.
We would like to have a generic dictionary to store decorators for emitter to consume, so that we don't need to add a new property to SDK model for better extensibility.
Issues to address:
Checklist
The text was updated successfully, but these errors were encountered: