3 ms·
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 exis
by badsavage 7y 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)
- Borkdude 7y agoFor schemas as EDN you might want to take a look at malli: https://github.com/metosin/malli https://github.com/metosin/malli
- badsavage 7y agoI didn't know malli, thank you Borkdude!
- puredanger 7y agoSpec 2 can be used without touching any macros if desired and has a lot more programmatic options.
- badsavage 7y agoAwesome!