Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
From the spec: https://jmap.io/spec-core.html#changes
```
When the state of the set of Foo records in an account changes on the server (whether due to creation, updates, or deletion), the state property of the Foo/get response will change.
```
We need to store all the changes made to mailbox objects in a table name MailboxChangeRepository. First we will implement a memory version of it.
How
- Define MailboxChange model.
- Define a contract for the MailboxChangeRepository.
- Implement MemoryMailboxChangeRepository APIs (save, getSinceState) base on the contract.
DoD
Write unit tests to show that MemoryMailboxChangesRepository is functioning properly.