What are people's thoughts on coercion of data using clojure.spec? It's a feature of plumatic/schema, but not a feature in the core of spec.
-
-
Replying to @rplevy
However, it would be trivial to use the information from the conformed data to coerce the values.
1 reply 0 retweets 1 like -
Replying to @rplevy
I think I just answered my own question, but wondering people's thoughts. Since data is tagged with path labels you can coerce based on that
1 reply 0 retweets 1 like
Replying to @rplevy
works really well, I use it extensively in Huri: https://github.com/sbelak/huri/blob/master/src/huri/core.clj#L40 … (previously used Schema/coercer, but spec feels cleaner)
0 replies
1 retweet
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.