This PR removes the cart transfer from shopinvader_api_signin_jwt (and its shopinvader_sale_cart dependency) and instead create a new _promote_anonymous_partner function that is now called by shopinvader_fastapi_auth_* modules when the two partner coexist.
A new shopinvader_sale_cart_anonymous_partner glue module handles the cart transfer on promotion.
This slightly changes the time when the cart is transfered from the login to the next request (which should be the cart GET anyway)
This PR removes the cart transfer from
shopinvader_api_signin_jwt
(and itsshopinvader_sale_cart
dependency) and instead create a new_promote_anonymous_partner
function that is now called byshopinvader_fastapi_auth_*
modules when the two partner coexist.A new
shopinvader_sale_cart_anonymous_partner
glue module handles the cart transfer on promotion.This slightly changes the time when the cart is transfered from the login to the next request (which should be the cart GET anyway)
FYI @sebastienbeau