Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a class to pass SeqNr and snapshot payload in (#563)
* Add a class to pass SeqNr and snapshot payload in. The main question here is if we want to have `payload` as an `Option` or require it always to be filled. This idea of `Option` was taken from a similar `Event` case class, but I am not sure it applies the same way to a snapshot. * Remove option wrapper around a payload. It was inherited from original `Event` code, but it seems that it was only needed there to ensure backwards compatibility when introducing JSON payloads and no longer necessary. See c6d0543 for more details.
- Loading branch information