Re: Keys spec with :additional-keys boolean option

2019-03-05 Thread 'somewhat-functional-programmer' via Clojure
I assume you are forced to use XML (if you are choosing the format, I wholeheartedly recommend EDN!). If you /do/ control the choice of XML/EDN but want to interoperate with other languages, check out: https://github.com/edn-format/edn/wiki/Implementations - maybe you could use EDN anyhow if y

Re: Keys spec with :additional-keys boolean option

2019-03-04 Thread Yuri Govorushchenko
I find closed keys specs generally easier to work this (e.g. it protects from cases when I forget to spec some new data returned from the function). In my current project the number of open keys specs is ~1.5% and they're are for entities where the shape is really unknown beforehand. At the mom