Re:Schema graduates from alpha with support for Clojure test...
by postpunkjustin on Tuesday September 01, 2015 @04:36PM
(#10155495)
How easy is it to insert your own generators into a schema in cases where one can't be automatically created? I'm thinking specifically of pred schemas or Java classes as schemas.
[ Parent
| on HN ]
Re:Schema graduates from alpha with support for Clojure test...
by w01fe on Tuesday September 01, 2015 @07:32PM
(#10156524)
Configurability was a major design goal. Check out the test for examples of how to insert your own leaf generators or wrappers:
https://github.com/Prismatic/schema/blob/master/test/clj/sch...
Does that seem like it will meet your needs?