akka/akka-http

formField fails if custom unmarshaller is in scope

开放

#541 创建于 2016年11月17日

 (7 条评论) (4 个反应) (0 位负责人)Scala (598 个派生)batch import
1 - triagedhelp wantedt:docs

仓库指标

星标
 (1,311 个星标)
PR 合并指标
 (平均合并 1天 10小时) (30 天内合并 2 个 PR)

描述

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

贡献者指南