This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-20
Channels
There is old discussion (and revered code) here: https://github.com/metosin/schema-tools/issues/30
@nha about the original. Not sure there is anything currently. But like st/open
makes all nested maps open, there could be similar helper (or st/open
option) to make all keys optional. This way, it would not fail on missing keys. I think it would be easy to write.
not sure if the new defn is a good idea, maybe it should be a parameter to st/open-schema
instead?