core icon indicating copy to clipboard operation
core copied to clipboard

Add :duct/regex reader tag

Open iku000888 opened this issue 6 years ago • 1 comments

There are libs(e.g. https://github.com/r0man/ring-cors) that require regex patterns to be passed in, and it would be great if I can specify e.g. #"some-allowed-origin" directly in the config edn file. This however did not work because it is not part of the eden spec.

This PR is the next thing I tried in my project and was pretty happy about it. Would it make sense to have this in duct/core?

iku000888 avatar Mar 28 '19 17:03 iku000888

You know that custom reader tags can be specified, right?

Yes and that is what I do right now and works great & happy with that, so it is totally up to you ;)

iku000888 avatar Mar 29 '19 00:03 iku000888