Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EventEnvelope Tags support #426

Merged

Conversation

Arkatufus
Copy link
Contributor

Changes

  • Enable EventEnvelope tags support in query result
  • Enable tags checking in Persistence.TCK unit tests

Arkatufus and others added 6 commits July 30, 2024 21:21
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -28,7 +28,7 @@ namespace Akka.Persistence.Sql.Query.Dao
{
public abstract class BaseByteReadArrayJournalDao : BaseJournalDaoWithReadMessages, IReadJournalDao
{
private readonly Flow<JournalRow, Try<(IPersistentRepresentation, IImmutableSet<string>, long)>, NotUsed> _deserializeFlow;
Copy link
Member

Choose a reason for hiding this comment

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

Good call on moving from immutable sets to arrays - this will eliminate any additional allocations when we're trying to pass tag collections into the EventEnvelope.

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) July 30, 2024 16:02
@Aaronontheweb Aaronontheweb merged commit 2ffcd66 into akkadotnet:dev Jul 30, 2024
3 checks passed
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.

None yet

2 participants