Custom EDN tags #12

Merged
merged 1 commit into from Mar 10, 2013

Projects

None yet

2 participants

@r0man
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 ngrunwald merged commit 31500a7 into ngrunwald:master Mar 10, 2013
@ngrunwald
Owner

thanks, merged

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