Fork me on GitHub

Have recursive schemas been implemented now? I know there was a ticket (which I cant find right now) where various versions were being discussed.


@shaunxcode It looks like this might be the discussion: and maybe this is the implementation?: but I’m just getting familiar with malli


thanks that is it exactly!


@shaunxcode I just saw this section in the readme: which might be helpful too


I was following along with this code from the

;; regexs work too
  [:re #"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$"] 
  {:seed 42, :size 10})
; => "[email protected]"
In order for it to work I needed to explicitly add test.chuck as a dependency, or else I would get this error:
Execution error (IllegalStateException) at malli.generator/eval20132$fn (generator.cljc:135).
    Attempting to call unbound fn: #'malli.generator/-re-gen
If that’s the expected behavior (and I didn’t mess something up), maybe it would be good to add a note to the under about adding test.chuck as a dependency?