T
TanStack6mo ago
foreign-sapphire

Escaping characters in file router

Hi everyone. Does anyone know a way to escape characters using the file router so they are used in the route as is. For example I want my API route to be /api/modules.account.proto.AccountController/Login. Currently this becomes /api/modules/account/proto/AccountController/Login. It has to be this format due to backend RPC code generation.
4 Replies
foreign-sapphire
foreign-sapphireOP6mo ago
GitHub
Escaping special characters in routes: how to? · TanStack router ...
I am trying to figure out, when using the file router, how to escape characters that would otherwise cause special routing behaviors to be rendered literally in the route. I've done some diggin...
rival-black
rival-black6mo ago
will be possible soon
foreign-sapphire
foreign-sapphireOP6mo ago
That's great! Is there a PR I can follow for updates?
rival-black
rival-black6mo ago
not yet.

Did you find this page helpful?