Closed chewax closed 3 years ago
Thanks but I'm not a fan of this. I don't like to have an iterate
action when the ability to paginate results is already available.
The current feature requires only a few more line of code and users that want to use for await...of
can extend the classes like you did here.
Ok no worries. Have a great day.
On Tue, Feb 2, 2021, 03:22 Luigi Pinca notifications@github.com wrote:
Thanks but I'm not a fan of this. I don't like to have an iterate action when the ability to paginate results is already available https://github.com/MONEI/Shopify-api-node#pagination.
The current feature requires only a few more line of code and users that want to use for await...of can extend the classes like you did here.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MONEI/Shopify-api-node/pull/457#issuecomment-771396091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWV263GPLETBIIEBRED6BLS46KZXANCNFSM4W53OOCQ .
I'm closing this. Thank you anyway.
Added new iterator feature to the base mixin to be able to list and paginate at once. It will iterate though all elements that match
param
and handling pagination.