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

Default to static preferences #2112

Merged
merged 3 commits into from
Jul 28, 2017

Conversation

jhawthorn
Copy link
Contributor

We've included static preferences for a while, and they've been default for new stores, but required a call to use_static_preferences!

This commit makes the static preferences store the default with no additional configuration. It also adds a way for stores to opt-in to the legacy DB-driven behaviour.

If accepted this should have a prominent changelog entry.

@mamhoff
Copy link
Contributor

mamhoff commented Jul 25, 2017

Will this also affect extension's Configuration objects?

@jhawthorn
Copy link
Contributor Author

jhawthorn commented Jul 25, 2017

Will this also affect extension's Configuration objects?

It will. One of the motivations for it.

Copy link
Contributor

@cbrunsdon cbrunsdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swear I've tried this before and I ran into problems somewhere weird, but I'm a big fan of the change 👍

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@jhawthorn jhawthorn force-pushed the default_static_preferences branch from 547b42f to 6f88c5f Compare July 26, 2017 20:00
jhawthorn and others added 3 commits July 28, 2017 11:33
We've included static preferences for a while, and they've been default
for new stores.

This commit makes the static preferences store the default with no
additional configuration. It also adds a way for stores to opt-in to the
legacy DB-driven behaviour.
use_static_preferences! is now the default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants