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

Pagination #373

Closed
NTXAggie opened this issue May 6, 2020 · 3 comments
Closed

Pagination #373

NTXAggie opened this issue May 6, 2020 · 3 comments

Comments

@NTXAggie
Copy link

NTXAggie commented May 6, 2020

When trying to use pagination in nodejs ("shopify-api-node": "^3.3.1") it throws a syntax error saying that .nextPageParameters does not exist on type IProducts[].

I followed exactly what is in the readme. I also confirmed that there is not any extra pagination data that comes back, it is just a simple array of results. Please help!

@lpinca
Copy link
Collaborator

lpinca commented May 9, 2020

Try to specify the API version in the constructor options. See #372 and #357.

@NTXAggie
Copy link
Author

NTXAggie commented May 9, 2020

image

@lpinca It does not fix the typescript issue, but it does fix the pagination issue, thanks!

@lpinca
Copy link
Collaborator

lpinca commented May 10, 2020

Yes the TypeScript issue is a known issue and is being discussed here #288.

@lpinca lpinca closed this as completed May 10, 2020
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