Issue and context why we need this: ENG-5171.
Details
Details
- Send some messages and check if they're properly saved in DB:
- Run test_messages_order to make sure:
- messages can be properly retrieved and deleted
- order is correct
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- tb-work-2
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
It might be worth to introduce something like
struct MessageID { timestamp: DateTime<Utc>, client_message_id: String, } impl MessageID { pub fn new(client_message_id: String) -> Self {Self {timestmap: Utc::now(), client_message_id} } }
And impls for converting to and from a string (timestamp#messageID)