Open RickMoynihan opened 7 years ago
See also similar bug on integrant: https://github.com/weavejester/integrant/issues/12
I agree and would vote for #aero/ref.
We could provide a reader option that will run in 'deprecated mode' that will match on unnamespaced keywords, giving people a compatibility option.
👍 to the compatibility option and agree that ^:deprecated
flags would make sense on the old functions too.
I second this issue!
I found that this is a temporary solution to using integrant ref with the aero ref
(binding [*data-readers* {'ig/ref ig/ref}]
(aero/read-config (clojure.java.io/resource "config.edn")
{:profile profile})))
This way, I can use ig/ref in my config and it will resolve.
I appreciate the succinct nature of the namespace free reader tags e.g.
#ref
but ideally these tags would be namespaced#juxt.aero/ref
or perhaps just#aero/ref
. clojure.org has this to say:And the edn-format spec re-echoes the same sentiment:
There may already be a collision here too, as integrant also defines
#ref
. How would one use both aero and integrant together?