integrant

blackawa 2017-12-26T03:47:11.000102Z

I use environ.

blackawa 2017-12-26T03:48:17.000011Z

@snichme Thank you for information! 🙏

2017-12-26T23:38:08.000080Z

@blackawa You can create a method that just returns the value, e.g.

(defmethod ig/init-key :foo/const [_ v] v)

2017-12-26T23:39:00.000086Z

Then you can inherit from that for keys like :foo.oauth/twitter:

{{[:foo/const :foo.oauth/twitter] {:oauth-token "xxx"}}
 {:foo.handler/login {#ig/ref :foo.oauth/twitter}}}

2017-12-26T23:39:34.000053Z

Originally that used to be the default behaviour of keys, but that default was removed as it made it too easy for typos in the configuration to go unnoticed.