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

[v3.1] Allow storing static preferences using string class names #4967

Conversation

waiting-for-dev
Copy link
Contributor

Summary

Backports #4858 to v3.1

This will make unnecessary to wrap these definitions under .to_prepare
blocks.

Additionally the error message for unexpected keys has improved and
now lists both all the unexpected keys along with the expected keys,
mentioning the name associated to the definition.

References solidusio/solidus_stripe#170

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

This will make unnecessary to wrap these definitions under `.to_prepare`
blocks.

Additionally the error message for unexpected keys has improved and
now lists both all the unexpected keys along with the expected keys,
mentioning the name associated to the definition.

Backports solidusio#4858 to v3.1
@waiting-for-dev waiting-for-dev requested a review from a team as a code owner March 7, 2023 13:47
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Mar 7, 2023
Copy link
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

👏

@waiting-for-dev waiting-for-dev merged commit 718468b into solidusio:v3.1 Mar 7, 2023
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/static_preferences_string_v31 branch March 7, 2023 14:14
waiting-for-dev added a commit to solidusio/solidus_stripe that referenced this pull request Mar 7, 2023
There's no longer the need to call `.to_prepare`, as the issue has been
fixed upstream:

- v3.3: solidusio/solidus#4858
- v3.2: solidusio/solidus#4939
- v3.1: solidusio/solidus#4967
waiting-for-dev added a commit to solidusio/solidus_stripe that referenced this pull request Mar 7, 2023
There's no longer the need to call `.to_prepare`, as the issue has been
fixed upstream:

- v3.3: solidusio/solidus#4858
- v3.2: solidusio/solidus#4939
- v3.1: solidusio/solidus#4967
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants