djfdyuruiry / ts-lambda-api

Build REST API's using Typescript & AWS Lambda
MIT License
54 stars 15 forks source link

Question: Is there a way to crate custom decorators that can be used in ts-lambda-api? #76

Open bschwarz opened 1 year ago

bschwarz commented 1 year ago

we wanted to create custom decorators that will function similar to consumes() and produces, but want to add extra logic to those. Is there a straight forward way to do that? I am not too familiar with decorators, so apologies if this is a elementary question.