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

[v4.1] Do not constantize Spree.user_class in UserClassHandle #6001

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 4, 2024

Backport

This will backport the following commits from main to v4.1:

Questions ?

Please refer to the Backport tool documentation

`Spree.user_class` will constantize the configured user class. If called
during Rails start-up, this will autoload the configured user class,
`Spree.user_class`. We can do without the autoloading by directly getting the name
of the class from a new method `Spree.user_class_name`.

(cherry picked from commit 355ba7a)
@github-actions github-actions bot requested a review from a team as a code owner December 4, 2024 14:30
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Dec 4, 2024
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.27%. Comparing base (9b23bf6) to head (16d10dc).
Report is 2 commits behind head on v4.1.

Additional details and impacted files
@@           Coverage Diff           @@
##             v4.1    #6001   +/-   ##
=======================================
  Coverage   93.27%   93.27%           
=======================================
  Files         123      123           
  Lines        3285     3285           
=======================================
  Hits         3064     3064           
  Misses        221      221           

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

@tvdeyen tvdeyen merged commit fb31c9f into v4.1 Dec 4, 2024
9 checks passed
@tvdeyen tvdeyen deleted the backport/v4.1/pr-5999 branch December 4, 2024 15:38
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.

2 participants