Optional params in hono/client

It seems that it doesn't support optional params at all.
In hono I can specify optional parameters, but in hono/client this is not supported.
If I have a route with /:idOrSlug?/invite, then it will match /invite and /:idOrSlug/invite.
And if I insert the correct value for the hono client then everything will work, but if it is undefined it will just put the undefined value in the url as shown in the screenshot above.
image.png
image.png
Was this page helpful?