I encountered a problem but I am not sure if I'm doing something wrong. Basically, on the product page I call the useProduct composable that then call /rest/productdetail endpoint. If I pass the variant to the composable search({ id, variant: root.$route.query }) the api client add the refresh param.
The problem is that the two responses are quite different, in particular, without the refresh param I have high quality images while with the refresh param I have only one image and in very low quality. And I can't really keep them both (unless deep clone maybe?) because the shared ref is the same.
I encountered a problem but I am not sure if I'm doing something wrong. Basically, on the product page I call the
useProduct
composable that then call/rest/productdetail
endpoint. If I pass the variant to the composablesearch({ id, variant: root.$route.query })
the api client add the refresh param.The problem is that the two responses are quite different, in particular, without the refresh param I have high quality images while with the refresh param I have only one image and in very low quality. And I can't really keep them both (unless deep clone maybe?) because the shared ref is the same.