guardrail-dev / guardrail-dev/guardrail

Boolean parameters use circe to deserialize instead of akka-http, making values case-sensitive

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

Description

This shouldn't be an issue for well-formed requests, but akka-http defines [multiple variants of what's valid](https://github.com/akka/akka-http/blob/3c3caa528144c2da4ff66ff1d2c08f4d382c7252/akka-http/src/main/scala/akka/http/scaladsl/unmarshalling/PredefinedFromStringUnmarshallers.scala#L36-L44) for Boolean parameters. By artificially constraining this, guardrail routes are not always drop-in replacements for existing akka-http implementations

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.