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

[WIP] Add a class that selects the store using requests info. #67

Closed
wants to merge 2 commits into from

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Jun 15, 2017

This class logic is extracted from Solidus core, which is going
to be simplified a lot to avoid multiple queries at each request
if solidus_multi_domain extension is not used (solidusio/solidus#1971).

@kennyadsl kennyadsl self-assigned this Jun 15, 2017
@kennyadsl kennyadsl changed the title Add a class that selects the store using requests info. [WIP] Add a class that selects the store using requests info. Jun 15, 2017
This class logic is extracted from Solidus core, which is going
to be simplified a lot to avoid multiple queries at each request
if solidus_multi_domain extension is not used (solidusio/solidus#1971).
kennyadsl added a commit to nebulab/solidus that referenced this pull request Jun 16, 2017
This commit avoids doing 2 extra queries for every request (solidusio#1971)
even when solidus store is not using solidus_multi_domain extension.

This logic has now been moved to the solidus_multi_domain extension
since it is needed only when multiple stores are expected
(solidusio-contrib/solidus_multi_domain#67).
@kennyadsl kennyadsl changed the title [WIP] Add a class that selects the store using requests info. Add a class that selects the store using requests info. Jun 16, 2017
@kennyadsl kennyadsl changed the title Add a class that selects the store using requests info. [WIP] Add a class that selects the store using requests info. Jun 23, 2017
@kennyadsl
Copy link
Member Author

kennyadsl commented Jul 6, 2017

Closing this one. solidusio/solidus#2022 will implement an alternative StoreSelector class directly in core, so this is no more needed.

cc @jhawthorn

@kennyadsl kennyadsl closed this Jul 6, 2017
@kennyadsl kennyadsl deleted the store-selector branch July 6, 2017 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant