James Reeves

Results 833 comments of James Reeves

An alternative would be to have a way of validating the spec before it's been touched in any way, and incorporate the idea of validating refs themselves. For instance, you...

I made `pre-init-spec` a multimethod so that it could be inserted into the act of initiating the configuration, but if we want to validate the configuration before it's been initiated,...

> First, is it okay to spec against keys, given those keys means different things at different times ? Yes, it does mean that a running system won't conform to...

Keeping the system as a map for development purposes might be a good idea. The `pre-init-spec` is useful for validating the configuration value after references are resolved. For example, you...

If you like 😃 . Writing `is/derived-keys` might be somewhat tricky, though.

Loading in Clojure is pretty much all thread unsafe, as far as I know. It might be worth adding something to the docstring, but I don't think we should add...

This sounds reasonable. Apologies for the delay - Lein-Ring hasn't been a high priority for me for a while.

Can you provide your project file?

Okay, I see the issue. Looks like the function for extending the uberjar profile needs to be smarter. It seems strange that there isn't a function in Leiningen to extend...