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.4] Do not constantize Spree.user_class in UserClassHandle #6004

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.4:

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:31
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Dec 4, 2024
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.

unrelated flaky new admin spec

@tvdeyen tvdeyen merged commit da7a72d into v4.4 Dec 4, 2024
11 of 12 checks passed
@tvdeyen tvdeyen deleted the backport/v4.4/pr-5999 branch December 4, 2024 16:51
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