Closed FlogFr closed 5 years ago
MultipartResult tag
resolves to FilePath
when tag
is Tmp
and resolves to LBS.ByteString
when tag
is Mem
. It's a type family, see https://hackage.haskell.org/package/servant-multipart-0.11.3/docs/src/Servant.Multipart.html#line-364 and https://hackage.haskell.org/package/servant-multipart-0.11.3/docs/src/Servant.Multipart.html#line-373.
Ok, sorry about that. Thank you for the explanation
Hello,
The following example documentation seems to be wrong:
Available here: https://hackage.haskell.org/package/servant-multipart-0.11.3/docs/Servant-Multipart.html
The
fdPayload
returns afdPayload :: MultipartResult tag
and not a FilePath.Can you confirm?
Thank you