metosin / reitit

A fast data-driven routing library for Clojure/Script

Home Page:https://cljdoc.org/d/metosin/reitit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Route data validation using malli

evaogbe opened this issue · comments

Is it possible to validate route data using malli instead of spec? Since both malli and reitit are metosin libraries built on data-oriented concepts, it'd be nice to see them work together for validation of middleware or interceptors. If more libraries are fully compatible with malli, then it reduces the need for having the app schemas straddle spec alpha and malli. Is this a thing that already exists or could be added?

not yet. should be. the original nudge to write malli was the limitations of spec for doing this. just needs to be done 🙂