ribelo / doxa

The Unlicense
232 stars 8 forks source link

pull on empty collection of refs throws exception #34

Closed stevebuik closed 2 years ago

stevebuik commented 2 years ago
(let [db1 (->> {:id   "10"
                :name "Enzo"
                :cars  [] }
               (vector :dx/merge)
               (dx/commit (dx/create-dx)))]
  (dx/pull db1 [:name {:cars [:id :name]}] [:id "10"]))

throws No such element exception

stevebuik commented 2 years ago

fix confirmed in Hotplate