Skip to content

Commit

Permalink
Use tagged-literal as default reader for edn input (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromanoel authored Feb 2, 2024
1 parent 1c15975 commit a2089eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cq/formats.clj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(defn ->edn-reader
[_]
(fn [in]
(edn/read (PushbackReader. (io/reader in)))))
(edn/read {:default tagged-literal} (PushbackReader. (io/reader in)))))

(defn ->edn-writer
[{:keys [pretty color]}]
Expand Down

0 comments on commit a2089eb

Please sign in to comment.