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

Deprecated Configurable Class: Allow class methods #5762

Merged

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented May 28, 2024

Summary

The previous implementation of Spree::DeprecatedConfigurableClass could deal with instance methods, but not with class methods. This creates a thing that issues deprecation warnings on instance methods and class methods.

@mamhoff mamhoff requested a review from a team as a code owner May 28, 2024 09:58
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label May 28, 2024
The previous implementation of `Spree::DeprecatedConfigurableClass`
could deal with instance methods, but not with class methods. This
creates a thing that issues deprecation warnings on instance methods and
class methods.
@mamhoff mamhoff force-pushed the add-warnings-on-deprecated-class-methods branch from de2aa00 to b2ebf63 Compare May 28, 2024 10:18
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.91%. Comparing base (ac9c423) to head (b2ebf63).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5762      +/-   ##
==========================================
- Coverage   88.91%   88.91%   -0.01%     
==========================================
  Files         711      711              
  Lines       16879    16885       +6     
==========================================
+ Hits        15008    15013       +5     
- Misses       1871     1872       +1     

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

@tvdeyen tvdeyen merged commit 7172aa8 into solidusio:main May 30, 2024
14 checks passed
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