Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @Pre support for @Params #5

Open
loicnestler opened this issue Nov 28, 2020 · 0 comments
Open

Add @Pre support for @Params #5

loicnestler opened this issue Nov 28, 2020 · 0 comments

Comments

@loicnestler
Copy link

Hey!

I discovered koa-joi-controllers a few weeks ago and I'm absolutely in love with it!
I'm currently building the backend for a local startup and came across the following problem:

I have one route (/api/projects/:id) with multiple methods (PUT, DELETE, GET, ...) and was wondering if there is any option to add a @Pre (for example to check json web tokens) to a @Params?

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant