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
fromJournal method in Typed Event Adapter should return a list of events #26909
Comments
patriknw
added
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
t:persistence
t:typed
labels
May 14, 2019
I recall us discussing simplifying it but nothing specific, I have nothing against making it a Seq |
patriknw
added
3 - in progress
Someone is working on this ticket
and removed
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
labels
Jun 12, 2019
patriknw
added a commit
that referenced
this issue
Jun 13, 2019
* Tests for usage of EventSeq * Moved event adapter tests from EventSourcedBehaviorSpec to new EventSourcedEventAdapterSpec * Also support for the event adapter manifest * Note in migration guide
patriknw
added a commit
that referenced
this issue
Jun 13, 2019
* Tests for usage of EventSeq * Moved event adapter tests from EventSourcedBehaviorSpec to new EventSourcedEventAdapterSpec * Also support for the event adapter manifest * Note in migration guide
patriknw
added a commit
that referenced
this issue
Jul 2, 2019
* Tests for usage of EventSeq * Moved event adapter tests from EventSourcedBehaviorSpec to new EventSourcedEventAdapterSpec * Also support for the event adapter manifest * Note in migration guide
patriknw
added a commit
that referenced
this issue
Jul 3, 2019
* Tests for usage of EventSeq * Moved event adapter tests from EventSourcedBehaviorSpec to new EventSourcedEventAdapterSpec * Also support for the event adapter manifest * Note in migration guide
raboof
pushed a commit
that referenced
this issue
Jul 5, 2019
EventSeq in Typed EventAdapter, refs #26909
Thanks @patriknw ! |
thanks for reporting, will be included in 2.6.0-M4 that is to be released today |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
EventAdapter
in Akka Typed is:I suggest changing the
fromJournal
signature to return a sequence of events, which would give us something likeAlternatively, we can use a specialized structure for the return type
This modification has several advantages:
EventSeq
is returned byfromJournal
method)This request is a follow up to the discussion:
https://discuss.lightbend.com/t/recommended-approach-to-unused-events-with-akka-typed-persistence/4159
The text was updated successfully, but these errors were encountered: