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
When i query GraphQL endpoint and results has to be processed in batches/pages it should provide paginated results to the caller by calling callback function on each page (including page data as callback argument).
Example: client.graphql.process(myFn, myLimit, myQuery)
Nice to have for logging purposes: provide to callback function optional stats with: total results, currently processed/fetched amount, progress percentage value.
The text was updated successfully, but these errors were encountered:
Expected behavior
When i query GraphQL endpoint and results has to be processed in batches/pages it should provide paginated results to the caller by calling callback function on each page (including page data as callback argument).
Example:
client.graphql.process(myFn, myLimit, myQuery)
Actual behavior
process is not implemented: https://github.com/sphereio/sphere-node-sdk/blob/6e5c429736e364d3e82b1b256bf2aa57c1000dcb/src/coffee/services/graphql.coffee#L74
Nice to have for logging purposes: provide to callback function optional stats with: total results, currently processed/fetched amount, progress percentage value.
The text was updated successfully, but these errors were encountered: