akka/akka-http

formField fails if custom unmarshaller is in scope

Aberta

#541 aberto em 17 de nov. de 2016

 (7 comentários) (4 reações) (0 responsável)Scala (598 forks)batch import
1 - triagedhelp wantedt:docs

Métricas do repositório

Stars
 (1.311 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 10h) (2 fundiu PRs em 30d)

Description

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

Guia do colaborador