@suren has joined the channel
Does ring support a way to parse query strings into number?
I need ?author_id=2 to be parsed as {:author_id 2} instead of {:author_id "2"}.
@popeyepwr has joined the channel
@suren We use a combination of Spec and exoscale/coax for that.
(we've only just started using coax -- we have our own library that combines Spec and coercion but we're backing off using that)
@suren reitit+malli will coerce too. I use those and once you've defined a spec (in malli for example - it does support clojure spec too), then the values will end up in {:query {:parameters {:author_id 2}}}