module.web icon indicating copy to clipboard operation
module.web copied to clipboard

Make compojure dependency excludable?

Open quan-nh opened this issue 8 years ago • 1 comments

I'm using ataraxy instead of compojure for routing, so I want to :exclusions [compojure] dependency. But it got error due to :duct.router/cascading router depend on it.

I think we should make :duct.router/cascading independent on compojure (by copy compojure/routes fn into cascading router?)

quan-nh avatar Aug 03 '17 12:08 quan-nh

This is reasonable, I think. I considered it before, but Compojure seemed a light enough dependency not to bother. However, it does pull in Clout and Instaparse and a few other dependencies, so perhaps it is worth it to just replicate the compojure.core/routes function.

weavejester avatar Aug 05 '17 02:08 weavejester