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
Describe the bug
When I make several addToCart in parallel, only the products added by the last addToCart launched will appear in my cart.
To Reproduce
0 - It's easier to reproduce on a slow site
1 - Quickly launch 3 addToCart for different products in parallel with the same woocommerce-session header.
2 - Note in their returns that the cart contains only the product just added.
3 - Send a getCart with the same header and see that only the last product added appears in the cart.
Expected behavior
All added products should appear in the cart
Plugin Versions
WooGraphQL Version: 0.19.0
WPGraphQL Version: 1.23.0
WordPress Version: 6.5.2
WooCommerce Version: 7.9.0
Additional context
The bug was caused by changing the graphql_process_http_request_response action to graphql_mutation_response when upgrading to version 0.19.0 of the plugin.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I make several addToCart in parallel, only the products added by the last addToCart launched will appear in my cart.
To Reproduce
0 - It's easier to reproduce on a slow site
1 - Quickly launch 3 addToCart for different products in parallel with the same woocommerce-session header.
2 - Note in their returns that the cart contains only the product just added.
3 - Send a getCart with the same header and see that only the last product added appears in the cart.
Expected behavior
All added products should appear in the cart
Plugin Versions
Additional context
The bug was caused by changing the graphql_process_http_request_response action to graphql_mutation_response when upgrading to version 0.19.0 of the plugin.
The text was updated successfully, but these errors were encountered: