-
Notifications
You must be signed in to change notification settings - Fork 19
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
chore: remove references to cursor based pagination in rpc documentation #8086
Conversation
@@ -1018,7 +1018,7 @@ func tradesToProto(trades []entities.Trade) []*vega.Trade { | |||
return protoTrades | |||
} | |||
|
|||
// ListTrades lists trades by using a cursor based pagination model. | |||
// ListTrades lists trades by. |
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.
// ListTrades lists trades by. | |
// ListTrades lists trades. |
This is a pretty useless description now though. How about "List all trades" and if there are filters, mentioning that they can be filtered?
@@ -1137,7 +1137,7 @@ func (t *TradingDataServiceV2) ListMarkets(ctx context.Context, req *v2.ListMark | |||
}, nil | |||
} | |||
|
|||
// List all Positions using a cursor based pagination model. | |||
// List all Positions. |
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.
// List all Positions. | |
// List all positions. |
@@ -1103,7 +1103,7 @@ func (t *TradingDataServiceV2) GetMarket(ctx context.Context, req *v2.GetMarketR | |||
}, nil | |||
} | |||
|
|||
// ListMarkets lists all markets using a cursor based pagination model. | |||
// ListMarkets lists all markets. |
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.
// ListMarkets lists all markets. | |
// List all markets. |
@@ -1171,7 +1171,7 @@ func (t *TradingDataServiceV2) ListPositions(ctx context.Context, req *v2.ListPo | |||
}, nil | |||
} | |||
|
|||
// ListAllPositions lists all positions using a cursor based pagination model. | |||
// ListAllPositions lists all positions. |
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.
// ListAllPositions lists all positions. | |
// Lists all positions. |
@@ -1335,7 +1335,7 @@ func (t *TradingDataServiceV2) GetParty(ctx context.Context, req *v2.GetPartyReq | |||
}, nil | |||
} | |||
|
|||
// ListParties lists Parties using a cursor based pagination model. | |||
// ListParties lists Parties. |
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.
// ListParties lists Parties. | |
// List parties. |
@@ -1364,7 +1364,7 @@ func (t *TradingDataServiceV2) ListParties(ctx context.Context, req *v2.ListPart | |||
}, nil | |||
} | |||
|
|||
// ListMarginLevels lists MarginLevels using a cursor based pagination model. | |||
// ListMarginLevels lists MarginLevels. |
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.
// ListMarginLevels lists MarginLevels. | |
// Lists margin levels. |
for a given market, for all markets?
@@ -1417,7 +1417,7 @@ func (t *TradingDataServiceV2) ObserveMarginLevels(req *v2.ObserveMarginLevelsRe | |||
}) | |||
} | |||
|
|||
// ListRewards lists Rewards using a cursor based pagination model. | |||
// ListRewards lists Rewards. |
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.
// ListRewards lists Rewards. | |
// List rewards. |
received? funded?
@@ -1962,7 +1962,7 @@ func (t *TradingDataServiceV2) getVotesByProposal(ctx context.Context, proposalI | |||
return | |||
} | |||
|
|||
// ListVotes gets all Votes using a cursor based pagination model. | |||
// ListVotes gets all Votes. |
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.
// ListVotes gets all Votes. | |
// Lists all votes. |
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
close #7989