duct

ccann 2019-10-29T20:58:12.034700Z

is it possible to just run all the pre-init-specs for a configuration instead of exec-ing it? I just want to know if our configuration is valid

ccann 2019-10-30T15:38:40.046400Z

Thanks, makes sense. I think we’ll probably stick with a depth approach where we validate the configuration statically (not checking the values of env vars and component refs) and then dynamically via pre-init-spec at runtime and when running dev and test systems.

2019-10-29T22:22:27.034800Z

Unfortunately with the way specs work, that’s more difficult than it initially sounds.

2019-10-29T22:23:15.035Z

To make it work reliably, a ref would need to pretend to adhere to a particular spec, which isn’t easily done.

2019-10-29T22:23:40.035200Z

However, you can just run a spec over the whole configuration manually if you don’t care about checking refs.