integrant

blackawa 2017-12-25T09:03:14.000085Z

Hi, how can I configure simple configuration value with Integrant? I want below code to work, but got IllegalArgumentException No method in multimethod 'init-key' for dispatch value: :foo.oauth/twitter.

{{:foo.oauth/twitter {:oauth-token "xxx"}}
 {:foo.handler/login {#ig/ref :foo.oauth/twitter}}}
Thank you for any advice

2017-12-25T18:49:16.000009Z

Integrant currently doesn’t support values like that, all keys in the config must have an implementation, i.e an init-key for key. Have heard that constant might come in a later release