You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because cacheKey for Product.slug (for example) looks like this: basket.items.0.product.slug and at the second pass it returns entry for BasketItemProduct and not creating seperate one for BasketItemPresent
Hi!
I have scheme like this (using Federation):
I want to fetch query like this:
My code (simplified) looks like this:
and with this piece of code I've got query like this (simplified):
so second usage of
mapproduct
is ignored.After some investigation I found that problem is in this piece of code:
gqty/packages/gqty/src/Selection/SelectionManager.ts
Lines 142 to 158 in f39bb45
because
cacheKey
forProduct.slug
(for example) looks like this:basket.items.0.product.slug
and at the second pass it returns entry forBasketItemProduct
and not creating seperate one forBasketItemPresent
My ugly fix for testing looks like this:
I hope you can forward me to the right point for this issue! ❤️
The text was updated successfully, but these errors were encountered: