Inconsistent examples regarding pagination
paul opened this issue · 2 comments
The recently merged PR #159 added some new use case documents. The one for pagination embedded the first
, next
, etc links in the root of the collection document, while most other examples I've seen for pagination put them nested under a view
key in a PartialCollectionView object. Which is the correct way? Should the examples at least be consistent?
Thanks Paul. The view
approach is the right one. It was introduced last year. Before that, pagination controls where directly associated to collections. I saw your offer to send a PR in your other comment. Would be fantastic if you find some time for that ;-)
I've checked recently and found the pagination example seems to be correct now (see 3.2.pagination.md. I think this one can be closed.