Open cristianmalfesi opened 5 years ago
Resolved here: https://github.com/chm1975/makerdao-subgrapqh-consumer/pull/3.
Notes:
The pagination has some limitation, we can not implement "last" and "range", because we do not have a way to query the total items amount.
The prior limitation explained has as consequence that we can not use a library from npm to implement the pagination, because all of them require the total items amount as a required prop. For simplicity we have fixed the pagination size to 10.
Estimated time: 1pt Issue: Subgraph graphql only returns 100 records of one entity. By default. To Do: - We need to add pagination configurable, so user can list actions by 10, 50, 100 per page.
Acceptance Criteria: