api-pagination
api-pagination copied to clipboard
Missing "last" on Link header
Hi folks, first of all, thanks for providing this awesome resource.
Recently I updated the api-pagination
from 4.8.1 to 4.8.2 and some unit tests started to fail.
We were used to receiving first, last, prev and next on the Link header. But after the upgrade to the last version the last
option disappeared from Link header.
Let me know if I am doing any confusion and/or am missing any optional configuration. Also, I could provide more information if it's necessary.
Thank you.
Hmmm my guess is this is due to #107… Are you configuring api-pagination
to not include the Total
header? The main reason that people configure this is due to expensive queries for the sizes of large tables, which the rel="last"
URL does as well, so merging #107 made sense to me