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

貢獻者指南