specter

Latest version: 1.1.3
richiardiandrea 2020-02-04T20:07:00.025100Z

Hi specter folks it's been a while and I am rusty 😄 How do I navigate to all the vectors and makes sure that if they have only one element I unwrap it?

richiardiandrea 2020-02-04T20:07:27.025700Z

so from

(xf/one-item-vector->map {:data {:a [1 2 3] :b [{:foo :bar}]}})
to
(xf/one-item-vector->map {:data {:a [1 2 3] :b {:foo :bar}}})

richiardiandrea 2020-02-04T20:13:13.026200Z

I think I am kind of missing how to drill down any map of maps

richiardiandrea 2020-02-04T20:13:20.026400Z

like in clojure.walk