timothypratley/patchin

Changes involving vectors fail

Closed this issue · 1 comments

(def a {:name "Test" :hobbies [:kite :chess]})
(def b (assoc a :hobbies [:kite]))
(patchin/diff a b)

AssertionError Assert failed: Failed to create patch
(= b (patch a p)) patchin/diff (patchin.clj:79)

Hi Skinney, for now I'm treating sequences as values, so this is fixed in the latest version... but I'm interested in if there is a better solution.