guardrail-dev / guardrail-dev/guardrail

Http4s Client Generation Don't use UnsafeFromString

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

Description

It's pretty well known in the http4s community to stay way from `Uri.unsafeFromString`

```httpClient.expect[GetConfigurationResponse](Request[F](method = Method.POST, uri = Uri.unsafeFromString(host + basePath + "/get-configuration")```

We should be able to do this in a safe way.

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.