integrant

2018-03-30T16:24:10.000351Z

@grierson If there’s an exception, check the stack trace. Debugging a configuration is the same as debugging a normal program. Just as vars and functions depend on other functions, so do keys depend on other keys in a configuration.

grierson 2018-03-30T16:31:13.000258Z

@weavejester I debugged it by just def`ing hard coded values in a comment block and evaluating each expression in each multi-method. (I missed some brackets, so I was passing the function not the result)

grierson 2018-03-30T16:34:10.000061Z

ig/init! :core/routes [_ {:keys [cats dogs]}] ["/api" cats dogs] But my core routes looks like this, using the names from the config to destruct in the core/routes.

2018-03-30T16:35:09.000206Z

Sorry, I don’t understand

grierson 2018-03-30T16:36:41.000393Z

*names keys.

2018-03-30T16:43:43.000121Z

Ah, okay. Glad you got it sorted, even if I wasn’t much help 🙂

grierson 2018-03-30T16:45:03.000152Z

I just used Stuart Halloways approach of def’ing hard coded values so that I can then evaluate each expression within each multimethod.