Fork me on GitHub

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


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


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


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


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.