Custom EDN tags #12

merged 1 commit into from Mar 10, 2013


None yet
2 participants

r0man commented Mar 9, 2013

Hi Nils,

I just noticed that custom tags defined in the data_readers.clj
file of an application are not handled by ring-middleware-format.

When a Clojure applications starts, tags defined in
data_readers.clj are loaded into the data-readers dynamic var.
However, the default behaviour of edn/read-string is to care only
about the tags in default-data-readers.

Passing {:readers data-readers} as the first argument to
edn/read-string solves this.

Would you like to merge this into master?

Thanks, Roman.

ngrunwald added a commit that referenced this pull request Mar 10, 2013

@ngrunwald ngrunwald merged commit 31500a7 into ngrunwald:master Mar 10, 2013

This comment has been minimized.

Show comment Hide comment

ngrunwald Mar 10, 2013


thanks, merged


ngrunwald commented Mar 10, 2013

thanks, merged

cgore pushed a commit to cgore/ring-middleware-format that referenced this pull request Sep 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment