Closed zetos closed 4 months ago
hi @zetos , we recently introduced pathParam as a synonym. What version of scotty gave you the error?
hi @zetos , we recently introduced pathParam as a synonym. What version of scotty gave you the error?
I must be doing something wrong then, i am using scotty version 0.20
in my package.yaml
file:
dependencies:
- base >= 4.7 && < 5
- scotty >= 0.20
edit:
Using stack the most recent version is 0.20.1
.
But using only cabal and with the scotty version 0.21
the pathParam
worked.
I guess theres to need for this PR, i will close it.
Hello,
While following the example in the README. When using
pathParam
, I encountered an error.Simply changing
pathParam
tocaptureParam
resolved the issue and the functionality worked as expected.should be easy to reproduce but here are the versions that i am using:
ghc version 9.8.1 stack version 2.15.3 cabal version 3.10.2.1