ServiceCall<NotUsed, Source<Person, ?>> getPeople();
Because I use Source<?, ?> as type of return, it will use Akka Streams so on client-side it expects to be consumed by websockets, isn't it?
Then, following this supposition, I try to open a websocket channel on the gateway and on the API url, but neither of the two options worked.
Maybe I just need to change the signature of the getPeople method, but Cassandra driver returns a Source and I don't know how to convert it to a simple list.
I'm moving my first steps with Lagom, so I'm not able to be more clear than this... :(
Can you help me?
Thank you very much.
--
You received this message because you are subscribed to the Google Groups "Lagom Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagom-framework+unsubscribe@googlegroups.com.
To post to this group, send email to lagom-framework@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lagom-framework/855b4f47-7458-4808-8627-88255532bcb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.