Skip to content

Commit

Permalink
Add empty pagination token comment
Browse files Browse the repository at this point in the history
  • Loading branch information
firenero committed Oct 19, 2021
1 parent 2f1f52f commit 41b0245
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ internal override bool TryRead(ref DdbReader reader, out string? value)
var length = end - offset;
if (length == 1)
{
// Only possible when pagination token returned from DDB equals "{}" that means end of pagination
value = null;
}
else
Expand Down

0 comments on commit 41b0245

Please sign in to comment.