weavejester / integrant

Micro-framework for data-driven architecture
MIT License
1.24k stars 64 forks source link

#{:idea} Pass the spec validations step on all defined states before calling init-key. #89

Closed niwinz closed 3 years ago

niwinz commented 3 years ago

As far as I know, right now the init-key is called just after spec validation (without validating all others specs). The proposal is have an option to validate first all the config, then initialize all.

This proposal is motivated because of this case use:

Validating all the specs before starting will help alot prevent this kind of situations.

niwinz commented 3 years ago

Closing the issue because is already open #32 (but for some reason i didn't see on my first search).