Fork me on GitHub
#malli
<
2023-07-14
>
theequalizer7312:07:55

I’m blocked with this ^ anyone?

rafaeldelboni12:07:40

try with number?

theequalizer7313:07:57

Thanks, I will try number? but no rigmarole, this should be simple. I was planning to go with clojure.spec.alpha today b/c this is taking me too much time.

rafaeldelboni13:07:08

schema is a nice alternative as well https://github.com/plumatic/schema super simple

rafaeldelboni13:07:33

til the word rigmarole 😄

🙂 2
theequalizer7314:07:14

I’ve found the problem. The DB is actually returning java.math.BigDecimal and java.lang.Float . I think I’m gonna def my own version of int and double. BTW number? and float? should work!

Ben Sless15:07:46

You can add decoders, too

2
Ben Sless15:07:04

And which db returns float?

theequalizer7315:07:19

This is a very particular thing, but now that I now where the problem is I think Imma add my own predicates or use rational?