T
TanStack9mo ago
rising-crimson

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
rising-crimson
rising-crimsonOP9mo 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...
stormy-gold
stormy-gold9mo ago
will be possible soon
rising-crimson
rising-crimsonOP9mo ago
That's great! Is there a PR I can follow for updates?
stormy-gold
stormy-gold9mo ago
not yet.

Did you find this page helpful?