guardrail-dev / guardrail-dev/guardrail
http4s server generates multiple companions for date type path params
Open
bug
scala-http4s
- Dominant language
- Scala
- Stars
- 541
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
When I generate a http4s server with `date` types for path params I end up with multiple `object LocalDateVar`s in the generated `Resources` class. This breaks compilation because
```
LocalDateVar is already defined as object LocalDateVar
```
I expect that only one such object is created even if it's used in multiple paths.
Contributor guide
Assessment
This issue has not been assessed yet.