Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Read/Write feature flags #39

Open
1 of 6 tasks
rlemaitre opened this issue Jan 22, 2024 · 0 comments
Open
1 of 6 tasks

Allow Read/Write feature flags #39

rlemaitre opened this issue Jan 22, 2024 · 0 comments
Labels
enhancement New feature or request scala-spree Issues for Scala Spree

Comments

@rlemaitre
Copy link
Member

rlemaitre commented Jan 22, 2024

To not have to restart the app to enable/disable a feature flag, we should be able to modify their status on the fly.

We would need to:

  • Introduce a read/write flag store abstraction
  • Make the flags module dependent to db to implement a first flag store
  • Store flags in db
  • Read flags in db
  • Reconcile flags in db with flags in configuration
  • Add endpoints to admin server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scala-spree Issues for Scala Spree
Projects
None yet
Development

No branches or pull requests

1 participant