Skip to content

Commit

Permalink
Update generator.cljc
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi authored Dec 8, 2024
1 parent f4b2b6a commit affa1f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/malli/generator.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
(let [{:keys [min]} (-min-max schema options)
el (-child schema options)]
(gen-one-of
options
(-> []
(cond->
(or (nil? min) (zero? min))
Expand Down

0 comments on commit affa1f3

Please sign in to comment.