There currently does not seem to be a clean way to generate links without query parameters. I tried using safeLink, but there's a missing type family instance of IsElem for NamedRoutes.
There's a partial workaround of using ToServantApi to remove the NamedRoute, but it won't work for nested NamedRoutes. Ie, like this:
There currently does not seem to be a clean way to generate links without query parameters. I tried using safeLink, but there's a missing type family instance of
IsElem
forNamedRoute
s.There's a partial workaround of using
ToServantApi
to remove theNamedRoute
, but it won't work for nested NamedRoutes. Ie, like this: