Good to know! I will have case classes anyway.
On Mon, Nov 21, 2016 at 9:55 AM, Konrad Malawski <
konrad.malaw...@typesafe.com> wrote:
> You have sadly bumped into an weird edge case here, this API was designed
> mostly for streaming case classes in mind,
> as streaming primitives may be a nice h
You have sadly bumped into an weird edge case here, this API was designed
mostly for streaming case classes in mind,
as streaming primitives may be a nice hello world but rarely is the thing
one wants I think...
To workaround the limitation you can provide an explicit marshaller that
exposes the S
Thanks for reporting Richard - seems there's a bug somewhere, I'm looking
into it.
Seems it doesn't compose nicely with existing predefined primitive
marshallers (like String here), if it was wrapped in a type (say
Thing("One") then it works, which is what all our tests were doing).
Please track t
Trying this out for the first time. I get a 200 OK but empty body.
val eventsRoute = path("events") {
get {
//val results: List[String] = List("One", "Two", "Three")
val results: Source[String, NotUsed] = Source(List("One", "Two",
"Three"))
complete(results)