Expose options for create_history_stream RPC #55

Closed
opened 2022-08-08 13:26:09 +00:00 by glyph · 1 comment
Owner

We don't currently offer the ability to pass optional arguments when calling create_history_stream. This means that we can't define seq ("only give me messages with sequence number > x") or limit ("only give me x messages"), among other arguments. I'd like to add args (or similar) as a second (optional) parameter to the function. kuska already has a type we can use:

kuska_ssb::api::dto::CreateHistoryStreamIn

https://github.com/Kuska-ssb/ssb/blob/master/src/api/dto/history_stream.rs

We don't currently offer the ability to pass optional arguments when calling `create_history_stream`. This means that we can't define `seq` ("only give me messages with sequence number > x") or `limit` ("only give me x messages"), among other arguments. I'd like to add `args` (or similar) as a second (optional) parameter to the function. kuska already has a type we can use: ```rust kuska_ssb::api::dto::CreateHistoryStreamIn ``` https://github.com/Kuska-ssb/ssb/blob/master/src/api/dto/history_stream.rs
glyph added the
enhancement
label 2022-08-08 13:26:09 +00:00
glyph self-assigned this 2022-08-08 13:26:09 +00:00
Author
Owner

Addressed by #56.

Addressed by https://git.coopcloud.tech/golgi-ssb/golgi/pulls/56.
glyph closed this issue 2022-09-20 07:56:39 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: golgi-ssb/golgi#55
No description provided.