#Is it possible to create a decorator that "merge" two or more decorators?

4 messages · Page 1 of 1 (latest)

carmine crystal
#

I'm working on an aplication that needs a lot of decorators together that receives the same or no params. I want to create a custom one that can be used just one time and do more functionalities.

Example: merge @Controller and @ApiTags

#

Is it possible to create a decorator that "merge" two or more decorators?

whole wharf
#

decorators are just functions, then yes