ribelo / doxa

The Unlicense
232 stars 8 forks source link

d/pull doesn't return falsey value #31

Closed stevebuik closed 2 years ago

stevebuik commented 2 years ago

(let [db (dx/create-dx {} [{:id 1 :name "Java" :immutable? false}])] (dx/pull db [:id :name :immutable?] [:id 1]))

if you change immutable to true in db, it is returned

only in noindex branch. was returned by master pull

ribelo commented 2 years ago

if-let was used instead of if-some, fixed

stevebuik commented 2 years ago

confirm fixed via hotplate tests