Coop
Forced router input?
I have a user route which has routes like get, delete, create etc. Some of the routes I require extra data but in all of them, my input contains:
I also call this code in all my routes:
Is there a way to create a wrapper or middleware that implements route logic like
.input()
but allows for other routes?5 replies