Closed aaronp closed 5 months ago
I think you need to define an implicit QueryParamReader
for BigDecimal
https://github.com/com-lihaoyi/cask/blob/1b13abceb474be306b33c2aa197b583602b26be1/cask/src/cask/endpoints/WebEndpoints.scala#L52-L56
Thanks so much Li - closing this issue
Consider the following route:
the route macro will fail with the following error on initialization:
It seems BigDecimal should be supported by default, and the documentation would benefit from clear instructions on how to add new path parsers for different types.
(And my apologies if I've just been to thick to find it! Thanks so much for the fantastic platform)