feat(query-dsl): add unit tests

This commit is contained in:
Tienson Qin
2020-12-28 00:44:09 +08:00
parent 3a4a4eeba9
commit 1ce76bbcb6
11 changed files with 758 additions and 143 deletions

View File

@@ -1559,7 +1559,7 @@
[state]
(let [[config query] (:rum/args state)
query-atom (if (:dsl-query? config)
(query-dsl/query (:query query))
(query-dsl/query (state/get-current-repo) (:query query))
(db/custom-query query))]
(assoc state :query-atom query-atom)))