Skip to content

Commit

Permalink
Apply type alterations to captured segments
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo authored and domenkozar committed Jan 12, 2024
1 parent e26ae72 commit b76a11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servant/Elm/Internal/Generate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ mkUrl opts segments =
F.Cap arg ->
let
toStringSrc =
toString opts (maybeOf (arg ^. F.argType))
toString opts (elmTypeAlterations opts (maybeOf (arg ^. F.argType)))
in
"Url.percentEncode " <> pipeRight [elmCaptureArg s, toStringSrc]

Expand Down

0 comments on commit b76a11f

Please sign in to comment.