We have the Abstract **LimitOffsetCursor (we need to check that class and verify if we can reuse)**
We have PageQuery
We have LimitOffsetPageQuery
The UsersInput Type have some classes
In the view_model(service) was create the UserConnection.

The UserConnection has a builder method.
The variables are something like this
{
"input": {
"after": "eyJvZmZzZXQiOiAxMzAsICJzb3J0QnkiOiAiTGFzdCBOYW1lIiwgInNvcnRPcmRlciI6IG51bGx9"
}
}
The Devin spike uses the next information in the token.
{
"offset": 130,
"sortBy": "Last Name",
"sortOrder": null,
"title": "icardenas"
}
And the page info in the next
"pageInfo": {
"startCursor": "eyJvZmZzZXQiOiAxMzEsICJzb3J0QnkiOiAiTGFzdCBOYW1lIiwgInNvcnRPcmRlciI6IG51bGx9",
"endCursor": "eyJvZmZzZXQiOiAxNTAsICJzb3J0QnkiOiAiTGFzdCBOYW1lIiwgInNvcnRPcmRlciI6IG51bGx9",
"hasNextPage": true,
"hasPreviousPage": true
}
My personal opinion: if the problem with offset is because the large offset is the problem, maybe we can wait and see how many “page” the user request with the same filters.
This is an article that talks about this problem, then I feel that we want to delay this because I saw it difficult to apply an offset of the 10000 results
[filters, offset, limit] (a similar approach is used in facebook), then:
after and before properties and any extra param in the input should be ignored.after or before parameter and should send all the filters.Example to return info from dataclass
The variables are something like this
{
"owner_ids": ["ASDF"]
}
info in token
{
"offset": 130,
"sortBy": "Last Name",
"sortOrder": null,
"owner_ids": [123]
}