This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
What is the easiest way to make all top-level keys in a schema optional?
[:map
[:a [:map [:b :string]]]
[:c [:map [:d :int]]]]
;; =>
[:map
[:a {:optional true} [:map [:b :string]]]
[:c {:optional true} [:map [:d :int]]]]
Thanks! And now I see that it's even mentioned in the docs...