guardrail-dev / guardrail-dev/guardrail

Http4s multipart file generator should pass Part[F] instead of Stream[F, Byte]

Open
#729 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.