Using `Option<NonEmptyChunk>` for `pendingEvents` is more precise than `Schema.Chunk`

pendingEvents should never empty, so Option<NonEmptyChunk> is more semantically precise: None means no pending events, Some means pending events > 0

 pendingEvents: Schema.optional(Schema.NonEmptyChunk(Event.EventSchema)),

vs
pendingEvents: Schema.Chunk...

agreed ?
Was this page helpful?