strip session-added comments
This commit is contained in:
@@ -154,8 +154,6 @@ pub enum EventPayload {
|
||||
},
|
||||
}
|
||||
|
||||
/// Wire form of an event: the tagged payload plus its optional identity.
|
||||
/// Messages without `event_id` (queued before identities existed) still decode.
|
||||
#[derive(Debug, Serialize, Deserialize, PartialEq)]
|
||||
pub struct EventMessage {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
|
||||
@@ -132,9 +132,6 @@ fn a_message_round_trips_its_event_id_and_decodes_without_one() {
|
||||
assert_eq!(serde_json::from_str::<EventMessage>(&json).unwrap(), unit);
|
||||
}
|
||||
|
||||
/// One sample per `DomainEvent` variant. `assert_covers_every_variant` is an
|
||||
/// exhaustive match, so adding a variant breaks the build until it is added
|
||||
/// here too.
|
||||
fn every_event() -> Vec<DomainEvent> {
|
||||
use domain::{
|
||||
models::{ExternalPersonId, PersonId},
|
||||
|
||||
Reference in New Issue
Block a user