guardrail-dev / guardrail-dev/guardrail

Multipart term Content-Types not respected

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted scala scala-akka-http
Dominant language
Scala
Stars
541
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Currently, all explicit parameter unmarshalling is done via the circe JSON unmarshaller, with some fallback logic (which adds some ambiguity) added by #73.

Explicitly generating the correct Unmarshallers in each branch of the multipart formdata handling would remove the ambiguity, at the expense of possibly requiring cURL users to set content types for each field type.

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.