juxt / aero

A small library for explicit, intentful configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tagged literals in metadata are not processed

cch1 opened this issue · comments

While clojure.edn/read has no problem reading tagged literals in metadata, aero leaves them unprocessed.

For example:

(-> (clojure.edn/read-string {:readers *data-readers*} "^{:x #inst \"2023\"} {:a 1}") meta :x type)
=> java.util.Date

Putting equivalent data in a resource and reading it yields a clojure.lang.TaggedLiteral.