If I have a spec like
(clojure.spec/def ::person (clojure.spec/keys :req [::name ::address] :opt [::age]))
And when I do
(clojure.spec.gen/generate (clojure.spec/gen ::person))
Is there any way to tell the generator to always consider the optional key(s) when generating data for it?
I know that this could be done with custom generators but I wanted to know if there is a functionality already available for it or maybe a simpler approach which does not involve me defining a custom generator.