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

Ensure Spree::Country.available and Zone#country_list consistently return AR relations #5503

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elia
Copy link
Member

@elia elia commented Nov 6, 2023

Summary

Being able to depend on AR::Relation makes the methods more adaptable and efficient, allowing it to be embedded in other queries minimizing the roundtrips to the database.

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.

…turn AR relations

Being able to depend on AR::Relation makes the methods more adaptable
and efficient, allowing it to be embedded in other queries minimizing
the roundtrips to the database.
@elia elia self-assigned this Nov 6, 2023
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Nov 6, 2023
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.

None yet

1 participant