Open live1206 opened 3 months ago
cc @m-nash @tadelesh
duplicate with https://github.com/Azure/typespec-azure/issues/1083
the scope concept is introduced by tcgc, not typespec, so we are hard to know whether a decorator has a scope, then how should tcgc do the filtering?
Clear and concise description of the problem
Right now, the generic decorators list will take all defined decorators regardless of the defined scope. We should not put the decorator into the list if it is not scoped for the current emitter.
Checklist