Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

capture: don't serialize sent_at if empty #28

Merged
merged 2 commits into from
Apr 30, 2024
Merged

capture: don't serialize sent_at if empty #28

merged 2 commits into from
Apr 30, 2024

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Apr 25, 2024

Add the serde annotation to ProcessedEvent to not marshal the optional sent_at field if it is not set

Tried out locally:

image

@xvello xvello requested a review from a team April 25, 2024 14:53
@xvello xvello merged commit 9f5b72d into main Apr 30, 2024
4 checks passed
@xvello xvello deleted the xvello/nonesentat branch April 30, 2024 10:24
@xvello xvello mentioned this pull request May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants