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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for updated Shopify Link headers #119

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

savchukoleksii
Copy link
Contributor

@savchukoleksii savchukoleksii commented Oct 15, 2021

Shopify updated Link header, so we need new regular expression to right Iteration
@bakura10

@bakura10
Copy link
Member

This is strange that Shopify broke the compatibility here. Is there a documentation? Are the header changed on every API version or starting from a specific API version?

@savchukoleksii
Copy link
Contributor Author

savchukoleksii commented Oct 18, 2021

@bakura10 I noticed that when worked with 2021-01 version of api.
As I can see that is for all endpoints and Link header now looks like on second call of iteration:

<next url>; rel="previous", <next url>; rel="next"

@bakura10
Copy link
Member

Makes sense ! It seems I missed this.

@bakura10 bakura10 merged commit 74e6470 into zf-fr:master Oct 18, 2021
@bakura10
Copy link
Member

Merged as 6.6.1

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

Successfully merging this pull request may close these issues.

2 participants