netconf-wg / list-pagination

0 stars 1 forks source link

Add conformance leaf-lists for "cursor" #4

Closed avtobiff closed 2 months ago

avtobiff commented 1 year ago

Conformance for "cursor" should be for leaf-lists as well.

avtobiff commented 2 months ago

Closing, no point in supporting cursor for leaf-lists. Text from draft below

Since leaf-lists might not have any unique values that can be indexed, the "cursor" query parameter is not relevant for the leaf-lists. Consider the following leaf-list [1,1,2,3,5], which contains elements without uniquely indexable values. It would be possible to use the position, but then the solution would be equal to using the "offset" query parameter.