Skip to content

Instantly share code, notes, and snippets.

@kborchers
Last active December 11, 2015 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kborchers/4564403 to your computer and use it in GitHub Desktop.
Save kborchers/4564403 to your computer and use it in GitHub Desktop.

matzew wrote: since the pipe (or the paging request) knows whether the paging information is sent as headers, as query parameters, or as body data, it would just "serialize" the give "param provider" into the actual location.

from me: This is the part I don't understand so sorry if I'm the only one being dense here. I believe that is basically what we decided to do yesterday, but, without that initial config, how do I make the initial request for the first page? Since the callback that the dev would provide isn't triggered until a successful read so that it can "build" the next/prev methods based on the response, how do I make that first request?

@qmx
Copy link

qmx commented Jan 18, 2013

perfect, and if parameterProvider is undefined, go with limit/offset :)

+9001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment