Hi!
I hope you can help me with the following.
I'm using clojure.spec.alpha/or to define a route that takes one of two maps as the request body. The maps don't have the same key set. I've found that when I send it a map of the second type, the :val being coerced is empty. I've included a small reproduction example below.
Either this wasn't fixed properly, or there's been a regression. The reproduction from the first message of this issue fails again. The metosin/spec-tools#255 issue has a repro on the spec-tools level.
Hi! I hope you can help me with the following. I'm using
clojure.spec.alpha/or
to define a route that takes one of two maps as the request body. The maps don't have the same key set. I've found that when I send it a map of the second type, the:val
being coerced is empty. I've included a small reproduction example below.deps:
Thanks very much!