Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alex-haproff
Copy link
Contributor

Resolves 70
Impact: minor
Type: feature

Issue

The original feature request is tracked here reactioncommerce/reaction-feature-requests#70

Solution

With the infrastructure for DataLoaders in place, this PR adds first couple of DataLoaders for Shops and SimpleInventory. Shops will benefit product listing pages as product and variant resolvers all query Shops collection for each product. SimpleInventory query benefits from batching.

Breaking changes

None.

Copy link
Contributor

@focusaurus focusaurus left a comment

Choose a reason for hiding this comment

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

Overall looks good.

…ps and SimpleInventoryByVariantId

Signed-off-by: Alex Haproff <[email protected]>
@alex-haproff alex-haproff force-pushed the feat-70-inventory-shops-dataloaders branch from d8e1070 to 0991274 Compare July 10, 2019 10:40
Alex Haproff added 5 commits July 10, 2019 10:43
…ateDataLoaders to TestApp

Signed-off-by: Alex Haproff <[email protected]>
…urned from loadMany in inventoryForProductConfigurations and disabling of DataLoader cache when running in test env

Signed-off-by: Alex Haproff <[email protected]>
@focusaurus
Copy link
Contributor

snyk is failing because it fails on all pull requests from forks. build and test is passing. Merging. Thanks @alex-haproff !

@focusaurus focusaurus merged commit 05630ee into reactioncommerce:develop Jul 10, 2019
@kieckhafer kieckhafer mentioned this pull request Aug 2, 2019
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.

3 participants