It shouldn't be very hard with exploding fish and reitit's name-based lookups (just gonna have to name every relevant route).
Validating the parameters may be a little tricky (to test at least) because coercers would need to be compiled and that doesn't seem to work well at this point.
Might be easier to just (spec/valid?) it based on the route info.
It shouldn't be very hard with exploding fish and reitit's name-based lookups (just gonna have to name every relevant route).
Validating the parameters may be a little tricky (to test at least) because coercers would need to be compiled and that doesn't seem to work well at this point.
Might be easier to just
(spec/valid?)
it based on the route info.