Re: [akka-user] Issue with default query parameters and custom unmarshalling

2016-08-22 Thread Konrad Malawski
Hmm... it could be. Quick question – do you perhaps have the ask pattern imported in this file? It could cause ambiguity with the ? from ask I just thought. -- Konrad `ktoso` Malawski Akka @ Lightbend On 22 August 2016 at 18:26:01, andrew.me...@bottlerock

[akka-user] Issue with default query parameters and custom unmarshalling

2016-08-22 Thread andrew . meyer
I recently came across an issue when I had used `parameters(…)` with custom unmarshalling and a default value. I found that `parameters(“foo”.as[MyType] ?)` compiles, but the following did not: `parameters(“foo”.as[MyType] ? MyType.default)`. The compiler says that there are "too many parame