Support setting feature flags before DB setup
What does this Merge Request do and why?
This MR extracts the core logic from !2718 (closed) so we can support setting feature flags prior to DB seeding in the future as it was super handy.
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.