Hacker News new | ask | show | jobs
by badsavage 2452 days ago
Spec is very useful, but please implement it without macros. Metosin did a great job to make it more usable, but we still struggle because specs could only exist in Namespaces. We want to use spec as EDN with pure functions. (+ recursive specs would be awesome)
2 comments

Spec 2 can be used without touching any macros if desired and has a lot more programmatic options.
Awesome!
For schemas as EDN you might want to take a look at malli:

https://github.com/metosin/malli

I didn't know malli, thank you Borkdude!