Fix string alias (should quote)

This commit is contained in:
Sean Corfield 2020-10-09 23:58:38 -07:00
parent 98b18bbb6e
commit 15ace00e49

View file

@ -86,7 +86,9 @@
(-> k (name) (upper-case) (str/replace "-" " ")))
(defn- format-entity [x & [{:keys [aliased? drop-ns?]}]]
(let [q (if *quoted* (:quote *dialect*) identity)
(let [q (if (or *quoted* (string? x))
(:quote *dialect*)
identity)
[t c] (if-let [n (when-not (or drop-ns? (string? x))
(namespace x))]
[n (name x)]