Fork me on GitHub
#malli
<
2023-05-17
>
steveb8n01:05:54

Q: I’m using function schemas in jvm and node. I get excellent errors on the jvm but not great on node/cljs. by not great, I mean there’s no indication of the source or the error in the ex-info. Is this known or am I doing something wrong?

steveb8n01:05:51

in the node server I can use binary search to find the source and then using m/explain to find the problem but this is slow. any suggestions for a faster way welcome

sergey.shvets17:05:16

I probably missing something obvious, but how do I validate that vector is a valid malli schema? I can run m/schema schema-def and it will throw, but I can't figure out if I can explain what's going on? E.g. "invalid predicate".