-
Notifications
You must be signed in to change notification settings - Fork 63
Pagination support for Transactions Query #1022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments to address
token/services/auditdb/db.go
Outdated
type Pagination = driver2.Pagination | ||
|
||
// Pagination iterator defines the pagination iterator for movements query results | ||
type PageIterator = driver2.PageIterator[*TransactionRecord] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is a bit too generic to concern only transaction records. I don't think we need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to
type PageTransactionsIterator = driver3.PageIterator[*TransactionRecord]
Is that ok?
or do you want me to remove it at all?
token/services/ttxdb/db.go
Outdated
type Pagination = driver3.Pagination | ||
|
||
// Pagination iterator defines the pagination iterator for movements query results | ||
type PageIterator = driver3.PageIterator[*TransactionRecord] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to
type PageTransactionsIterator = driver3.PageIterator[*TransactionRecord]
Is that ok?
or do you want me to remove it at all?
Signed-off-by: Alexandros Filios <[email protected]>
Signed-off-by: Alexandros Filios <[email protected]>
Signed-off-by: Alexandros Filios <[email protected]>
No description provided.