Fork me on GitHub
#clojure-spec
<
2017-05-27
>
athos00:05:54

Happy to hear a new version of spec.alpha has been released!! I've been waiting for CLJ-2059 and CLJ-2085 to be merged 😆

athos00:05:22

Hmm, the version in CHANGES.md looks wrong. 0.1.123 is correct, right? https://github.com/clojure/spec.alpha/blob/master/CHANGES.md#version-01109-on-may-26-2017

seancorfield01:05:32

Yes, 0.1.123 is the correct version.

seancorfield01:05:52

Alex explained there was a build snafu and they had to re-release 0.1.109 under a new version number.

seancorfield01:05:11

So it’s technically both 0.1.109 and 0.1.123 🙂

athos01:05:54

I see :thinking_face:

Alex Miller (Clojure team)01:05:05

Oh, I will update the changes file - I forgot to do that

gfredericks02:05:51

@arohner what about generating it from a spec where that key is required?

arohner02:05:45

@gfredericks that’s not a terrible idea. I was hesitant because ‘in the real world’, the key is optional, and I only needed it required for a specific test case

arohner02:05:05

I guess that’s fine. (s/def ::foo...) (s/def ::foo-with-bar...)

gfredericks02:05:39

@arohner these are unit tests?

arohner02:05:53

::foo is used in production, ::foo-with-bar would only be used in tests