If I have a vector of maps
(def v [{:key1 "value 1" :key2 "value2"} {:key1 "value 3" :key2 "value4"}])
and a map
(def m {:key3 "value2" :key4 "value5"})
How to add map m to all the maps in vector v where the values of 2 given keys (in this case key2 and key3) are equal?
The expected result would be this:
[{:key1 "value 1" :key2 "value2" :key3 "value2" :key4 "value5"} {:key1 "value 3" :key2 "value4"}]