Re: [ANN] com.walmartlabs/dyn-edn 0.1.0

2018-02-23 Thread Ravindra Jaju
I've had one too on similar lines for quite some time https://github.com/jaju/properties-clj Primarily used for the `properties` format, but it supports EDN too via the `read-edn` function. This library uses the almost-BASH syntax for picking env variables with default ${USER:some-user} would be

Re: [ANN] com.walmartlabs/dyn-edn 0.1.0

2018-02-20 Thread Alan Thompson
Looks very useful. One suggestion: the example might be easier to read if you included the values of the env vars, and clarified the way you specify default values: {:connection-pool {:user-name #dyn/prop [DB_USER "accountsuser"] ; default value "accountsuser" :user-pw #dyn/prop DB_PW

Re: [ANN] com.walmartlabs/dyn-edn 0.1.0

2018-02-16 Thread Howard Lewis Ship
Oh, yea, very similar. I wasn't tracking, and the overlap is significant. dyn-edn is just one part, packaged as small as possible, about 90 lines of code. aero looks similar to io.aviso/config (itself very small), but big enough to be noticable. dyn-edn is intended to just plug into whatever yo