Skip to content

fix(store): Do serialize default transaction source [INGEST-1511]#1387

Merged
jjbayer merged 2 commits intomasterfrom
fix/transaction-source-serialize
Aug 8, 2022
Merged

fix(store): Do serialize default transaction source [INGEST-1511]#1387
jjbayer merged 2 commits intomasterfrom
fix/transaction-source-serialize

Conversation

@jjbayer
Copy link
Copy Markdown
Member

@jjbayer jjbayer commented Aug 8, 2022

In #1354, we introduced behavior that wrote back the default transaction source (unknown) into the event during normalization.

Unfortunately, since the default qualifies as empty, this value was still not serialized into the event payload:

impl Empty for TransactionSource {
#[inline]
fn is_empty(&self) -> bool {
matches!(self, Self::Unknown)
}
}

#skip-changelog because the original impl is in the same version as the fix.

@jjbayer jjbayer requested a review from a team August 8, 2022 12:09
@jjbayer jjbayer enabled auto-merge (squash) August 8, 2022 12:26
@jjbayer jjbayer merged commit b5787b4 into master Aug 8, 2022
@jjbayer jjbayer deleted the fix/transaction-source-serialize branch August 8, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants