DEV Community

Discussion on: Fun with Feature Flags

Collapse
 
seangwright profile image
Sean G. Wright

The error-ing early part is something I always lean towards when possible.

IoC containers like SimpleInjector verify your container by building everything in it 1 time at startup.

If you include your Feature configuration types in your container then the verification step will throw an exception if values can't be found in app settings or the database (assuming your classes guard against invalid parameters).

I haven't used FeatureToggle - I'll have to check it out.

Thread Thread
 
integerman profile image
Matt Eland
Thread Thread
 
seangwright profile image
Sean G. Wright

I appreciate you writing that up!