Skip to content

Conversation

bartelink
Copy link
Collaborator

@bartelink bartelink commented Jan 2, 2025

Passes additional context to the encoding function.

e.g. For SystemTextJson.Encoding, this enables the shouldCompress predicate to control compression based on the EventType etc

NOTE this is a half way house solution - eventually IEventData should take over ownership of IsUnfold and Context from ITimelineEvent to afford better control of encoding for DynamoStore and CosmosStore without indirect assumptions

@bartelink bartelink changed the title feat(Core.EventData): Add MapEx overload with context feat(EventData): Add MapBodies overload with context Jan 3, 2025
@@ -30,8 +30,10 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Condition=" '$(Configuration)' == 'Debug' " Include="../FsCodec.Box/FsCodec.Box.fsproj" />
<PackageReference Condition=" '$(Configuration)' == 'Release' " Include="FsCodec.Box" Version="[3.0.0, 4.0.0)" />
<ProjectReference Include="../FsCodec.Box/FsCodec.Box.fsproj" />
Copy link
Collaborator Author

@bartelink bartelink Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo on main branch

@bartelink bartelink merged commit 7ef6d0a into master Jan 29, 2025
9 checks passed
@bartelink bartelink deleted the mapex branch January 29, 2025 19:17
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.

1 participant