Ben Who
Ben Who
Can you try to set the limit on buildPaginator instead of the query builder? ```typescript const paginator = buildPaginator({ entity: TestEntity, alias: 'test', paginationKeys: ['createdAt', 'id'], query: { order: 'DESC',...
> @benjamin658 , I try it with the limit, I am facing the same issue. Please review the code! Please make sure that the pagination key "created_at" is table wide...
Sorry, I don’t get it, could you please explain it more?
But if it returns raw results, then the library cannot generate cursors.
Would you mind sending a PR for this feature with proper test cases?
Could you share the entity that was trying to sort?
You have to use an unique column as the pagination key.
Please upgrade to v0.10.0 to see if it works.
@ stuartf123 Could you send a PR with your implementation? I really appreciate it.
Hi @DiogoBatista , I have tried to add a custom order before, however, the TypeORM seems to have a bug on the `addOrderBy` nested column with `take`, you can check...