vendredi 30 avril 2021

Is possible in typescript get access to other decorator names used by a method in a NestJS application?

I need to get a list of decorators used by a method inside one custom defined decorator.

I have reviewed the typescript decorators and Reflect Metadata documentation but I could not find anything about that.

My application is a NestJS app and I need to detect what properties are using the GraphQL @Query() decorator.





Aucun commentaire:

Enregistrer un commentaire