guardrail-dev / guardrail-dev/guardrail
Http4s multipart file generator should pass Part[F] instead of Stream[F, Byte]
Open
enhancement
scala
scala-http4s
- Dominant language
- Scala
- Stars
- 541
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
`Http4sServerGenerator` generates code for multipart file upload which maps `Part[F]` to `Stream[F, Byte]` and passes it to handlers.
This way we are not able to read filename and name of the Part. I'm not sure why this was implemented like that but it would be better to have `Part[F]`.
Contributor guide
Assessment
This issue has not been assessed yet.