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

Build default address with an existing method in checkout address #3548

Merged

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Mar 11, 2020

Description

Spree::Address#build_default exists to do exactly that and we are not using it consistently in the codebase.

Closes #3441

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • [ ] I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)
  • [ ] I have attached screenshots to this PR for visual changes (if needed)

This method exists to do exactly that and we are not using it
consistently in the codebase.
@kennyadsl kennyadsl added the changelog:solidus_frontend Changes to the solidus_frontend gem label Mar 11, 2020
@kennyadsl kennyadsl self-assigned this Mar 11, 2020
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice!

@aldesantis aldesantis merged commit c44e877 into solidusio:master Mar 26, 2020
@aldesantis aldesantis deleted the kennyadsl/build-default-address branch March 26, 2020 07:44
@aldesantis
Copy link
Member

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_frontend Changes to the solidus_frontend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why is Spree::Address.build_default not used?
3 participants