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

[Promotions] Set Flickwerk patches in initializer #6161

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 25, 2025

Summary

We need to be sure that the app is fully loaded before setting Flickwerk aliases. Otherwise ie. Spree::Config includes default class names even if set differently from the Rails app or extensions.

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.

We need to be sure that the app is fully loaded before
setting Flickwerk aliases. Otherwise ie. `Spree::Config`
includes default class names even if set differently from
the Rails app or extensions.
@tvdeyen tvdeyen added the backport-v4.5 Backport this pull-request to v4.5 label Feb 25, 2025
@tvdeyen tvdeyen requested a review from a team as a code owner February 25, 2025 15:48
@github-actions github-actions bot added the changelog:solidus_promotions Changes to the solidus_promotions gem label Feb 25, 2025
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.81%. Comparing base (eca889d) to head (261f13d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6161      +/-   ##
==========================================
+ Coverage   86.64%   88.81%   +2.16%     
==========================================
  Files         514      835     +321     
  Lines       11891    18153    +6262     
==========================================
+ Hits        10303    16122    +5819     
- Misses       1588     2031     +443     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen merged commit bf88052 into solidusio:main Feb 25, 2025
25 checks passed
Copy link

💚 All backports created successfully

Status Branch Result
v4.5

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v4.5 Backport this pull-request to v4.5 changelog:solidus_promotions Changes to the solidus_promotions gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants