🎉 Add specific namespace for data macros

And additionally add optimized macros for get-in,
select-keys and str.
This commit is contained in:
Andrey Antukh 2022-02-24 23:36:53 +01:00 committed by Alonso Torres
parent 165c551e39
commit 84a36624a6
9 changed files with 277 additions and 184 deletions

View file

@ -8,6 +8,7 @@
"Objects storage abstraction layer."
(:require
[app.common.data :as d]
[app.common.data.macros :as dm]
[app.common.exceptions :as ex]
[app.common.logging :as l]
[app.common.spec :as us]
@ -248,7 +249,7 @@
(-> (assoc storage :conn (or conn pool))
(delete-database-object (if (uuid? id-or-obj) id-or-obj (:id id-or-obj)))))
(d/export impl/resolve-backend)
(dm/export impl/resolve-backend)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Garbage Collection: Permanently delete objects