Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans to move to cursor-based pagination #7

Open
montaniasystemab opened this issue Feb 12, 2020 · 1 comment
Open

Plans to move to cursor-based pagination #7

montaniasystemab opened this issue Feb 12, 2020 · 1 comment

Comments

@montaniasystemab
Copy link

Hello and thank you for a great bundle which has worked great for us so far 馃憤

We've just received this notice from Shopify from our app that uses the Order endpoint with your bundle:

Developer content

One or more of your private apps have made deprecated API calls in the last 30 days. Support for these versions will be removed on April 1, 2020. Please update your apps listed below to API version 2019-07 or later to ensure they continue to function correctly.

The page filter has been removed from multiple endpoints. Use cursor-based pagination instead.

It seems from inspecting the code that OrderEndpoint::findAll(array $query) uses the page approach to retrieving orders.

Is there any plan to update this bundle to support cursor based pagination as required by Shopify?

Thanks!

@dimonx3
Copy link

dimonx3 commented Feb 12, 2020

@montaniasystemab
You can use our fork which has this functionality.
https://github.com/dimonx3/symfony-shopify-bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants