ribelo / doxa

The Unlicense
232 stars 8 forks source link

wrong arity call of denormalize in haul function #18

Closed fnumatic closed 3 years ago

fnumatic commented 3 years ago
(defn haul
...
   (enc/cond
     (keyword? x)
     (denormalize (db x) max-level)  -->
     ;;
     (vector? x)
     (denormalize (get-in db x) max-level) -->
(defn denormalize
  ([   data          ]
  ([db data          ] <--
  ([db data max-level]