akka/akka-http

formField fails if custom unmarshaller is in scope

Offen

#541 geöffnet am 17.11.2016

 (7 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)Scala (598 Forks)batch import
1 - triagedhelp wantedt:docs

Repository-Metriken

Stars
 (1.311 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 10h) (2 gemergte PRs in 30 T)

Beschreibung

formField directive fails if there is too generic unmarshaller in scope, that prevents FieldMagnet machinery to work. It can happen quite a lot - for example when using akka-http-json4s or other generic unmarshaller.

Reproducer https://github.com/marekzebrowski/akka-http-form-field-bug

If it is not solvable, maybe a word of warning in documentation, or a guide how to write own unmarshaller would be helpful

Contributor Guide