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

fix: handle adapted java source providers for replay #1279

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

pvlugter
Copy link
Contributor

Just a quick fix to get replays working for javadsl.

Extending the adapters to cover LoadEventsByPersistenceIdSourceProvider as well could be better. But adapters are sealed, load events is under event sourced projections, and there would need to be combinations for with or without CanTriggerReplay.

So just pull out the underlying provider when adapted for now, which implements LoadEventsByPersistenceIdSourceProvider.

We also don't seem to be set up for testing the javadsl currently, so only confirmed manually. Can follow up with tests.

@leviramsey
Copy link
Contributor

LGTM, for whatever that's worth :)

@pvlugter pvlugter added this to the 1.6.5 milestone Nov 30, 2024
@pvlugter pvlugter merged commit c357722 into main Nov 30, 2024
22 checks passed
@pvlugter pvlugter deleted the replay-adapted-source-provider branch November 30, 2024 02:02
Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

ah, yeah an oversight that we have the adapter inbetween

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