Skip to content

Commit

Permalink
Used tagged serialization for AppSyncEventsWebsocketMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklaswj committed Nov 29, 2024
1 parent 629364c commit 5b6d130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda-events/src/event/appsync_events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ where
/// `AppSyncEventsWebscoketMessage` represents all possible messages which can be sent between
/// AppSync Events and a connected websocket client.
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "snake_case")]
#[serde(rename_all = "snake_case", tag = "type")]
pub enum AppSyncEventsWebsocketMessage<T1 = Value>
where
T1: DeserializeOwned + Serialize,
Expand Down

0 comments on commit 5b6d130

Please sign in to comment.