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
{{ message }}
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
should produce a query with "..&sort=..sku&sort=id%20asc" and not "id asc" in the first place.
AFAICS the reason is that AbstractApiRequest::convertToString sorts the parameters before placing the request.
I tried to produce a small PR, but failed because the parameters are stored intentionally this way and my changes broke some test-cases.
We would like to iterate over whole bunches of products and inventories and do so in a streaming (and over sku-synchronized) fashion, which isn't possible ATM.
Viele Grüße // David
The text was updated successfully, but these errors were encountered:
You are right. The sorting is the issue. This was done for canonical URIs but for the sort parameter it's problematic. Will fix this and also add it to the next release. If necessary I could also fix it afterwards for previous versions
should produce a query with "..&sort=..sku&sort=id%20asc" and not "id asc" in the first place.
AFAICS the reason is that AbstractApiRequest::convertToString sorts the parameters before placing the request.
I tried to produce a small PR, but failed because the parameters are stored intentionally this way and my changes broke some test-cases.
We would like to iterate over whole bunches of products and inventories and do so in a streaming (and over sku-synchronized) fashion, which isn't possible ATM.
Viele Grüße // David
The text was updated successfully, but these errors were encountered: