Open SwagiWagi opened 3 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
up
If you are using decorators, you can use https://tsoa-community.github.io/reference/functions/tsoa.Inject.html
and do something like fn(@Inject() @MyDecorator() injectedArg)
Otherwise you can set it in the Middleware and use @Request
Are there any examples of how to implement a custom decorator like @MyDecorator
? I've been searching but haven't found one yet.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Are there any examples of how to implement a custom decorator like
@MyDecorator
? I've been searching but haven't found one yet.
As in: How to write/use decorators?
https://www.typescriptlang.org/docs/handbook/decorators.html
Sorting
I'm submitting a ...
I confirm that I
I want to be able to have middlewares add custom parameters to my controller, for example: