Original Implementation violated spec: start_cursor should be treated as an opaque value, and next_cursor should be used to provide the next start_cursor. Deriving from the id may not be acceptable. Typically has_more can be used to determine whether there are more results; this implementation checks for the existence of next_cursor instead.
Per https://github.com/souvikinator/notion-to-md/issues/13
Retrieves all children if
totalPage == null
Original Implementation violated spec:
start_cursor
should be treated as an opaque value, andnext_cursor
should be used to provide the nextstart_cursor
. Deriving from the id may not be acceptable. Typicallyhas_more
can be used to determine whether there are more results; this implementation checks for the existence ofnext_cursor
instead.