I believe this was by design actually if I remember correctly, as we
considered the read side may want to operate on the raw events by default.

Let's say that in the same app that needs adapters for the PersistentActors
you want to project a view from historical data,
thus you may not want to apply the adapters for example.

It is possible to apply the adapters manually, as I explained here:
https://github.com/akka/akka/issues/21065

I agree however that it would be nice to make this simpler.
Ideas and contributions how the API could be improved are very welcome :-)



-- 
Konrad `ktoso` Malawski
Akka <http://akka.io> @ Lightbend <http://lightbend.com>

On 29 July 2016 at 13:22:30, FCristovao ([email protected])
wrote:

Hey there,

  Recently I tried out Akka Persistence, and I used a Event Adapter.
  All works really well on the Journal side, but then I started trying to
use the PersistenceQuery side, and I noticed that the events in the stream
come "un-event-adapted", that is, the method "fromJournal" is never called
on the adapter.
  And since the EventEnvelope doesn't contain the manifest from
PersistentRepr, one can't just map the "fromJournal" over the stream.

  Am I missing something? Maybe I misconfigured something? Or is this on
purpose?

Kind Regards,
  Filipe Cristóvão
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups
"Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to