4 ms·
Strong agreement. I'm building a tool for dynamic configuration and that makes this doubly fun, because now the configuration can come from a remote, live updat
by jdwyah 3y ago
Strong agreement. I'm building a tool for dynamic configuration and that makes this doubly fun, because now the configuration can come from a remote, live updating source as well.
In Prefab, the source can be a default file, env specific defaults, live values, or machine specific overrides when doing local development.
Right now I've landed on printing out the name, value & source type and path on boot. It looks like https://gist.github.com/jdwyah/5ca4b0eacdc04414540af0761b8a0a14 https://gist.github.com/jdwyah/5ca4b0eacdc04414540af0761b8a0...
I think it's allright, but I'm still thinking about how to make it better. More details in:
https://docs.prefab.cloud/docs/explanations/bootstrapping https://docs.prefab.cloud/docs/explanations/bootstrapping
- jdwyah 3y agoAnd if you are interested in making all of your configuration typesafe, please get in touch. I have things I want to show you.