Automatically paginate GraphQL Queries
Tim Mackey
Because I'm lazy, it would be awesome if I didn't have to manage GraphQL cursors and pagination when querying Shopify objects. This feels like something Mechanic could do automatically for us on the backend.
Could Mechanic autodetect
edge
references and handle pagination for any references that are paired with pageInfo
? Or maybe auto-paginate any edge reference that is unbounded? I imagine this is something that would also find it's way into Liquid GraphQL objects if that ever becomes a thing.Tim Mackey
If Mechanic could handle pagination on multiple connections in the same query, that would be
amazing
. Things get confusing fast if you try to do this manually in a Mechanic task.