Re: defmulti with prismatic schema

2016-01-19 Thread JvJ
I've already figured out that the dispatch function can be schematized, but good call on the wrapper. I'll try that. On Monday, 18 January 2016 00:58:19 UTC-8, Jason Wolfe wrote: > > You can find some context here and in the linked PRs: > > https://github.com/plumatic/schema/pull/119 > >

Re: defmulti with prismatic schema

2016-01-18 Thread Jason Wolfe
You can find some context here and in the linked PRs: https://github.com/plumatic/schema/pull/119 Basically, the reason we don't have defmulti is that it's difficult to implement properly, and didn't seem worth the effort and maintenance cost. The simplest workaround is to create a

defmulti with prismatic schema

2016-01-16 Thread JvJ
Hello, I understand that Prismatic Schema has a means of annotating defmethod, but what should I do about defmulti? Thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that