duffelhq / paginator

Cursor-based pagination for Elixir Ecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

after in meta gets nil when limit is set to 1

zhangzhen opened this issue · comments

If there are two items in total, the after field in meta should be set to the id of the second item. But in reality it didn't. This case is shown in the following screenshot.

image