Fork me on GitHub

@michal you could wrap both in reitit.ring/routes which does linear routing over them. But both need to be run with 3-arity async-ring server, e.g. Jetty with {:async true}.


I guess you could write a adapter that accepts both 1 & 3 arity calls to the router, but sadly, Clojure doesn't support function arity inspection at runtime, so you need some hacky glue code to properly support both sync-ring & async-http at the same time.


Anyone tested the #malli coercion from 0.4.*?