Skip to content

The hasNext description currently says that nextPageToken will always be supplied. #250

@oej

Description

@oej

The hasNext description currently says that nextPageToken will always be supplied.

If we decide that nextPageToken should only be present when hasNext=true, this description should be updated accordingly. Otherwise, the spec should clarify what value nextPageToken has when hasNext=false.
Making nextPageToken optional when hasNext is false would simplify client-side logic, as consumers wouldn't need to handle 'empty' or 'dummy' tokens for terminal pages.

Originally posted by @Mehrn0ush in #231 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions