codeauthor
Hono RPC
It's difficult to say. The auto complete feature works better when you're chaining the endpoints, which is also the recommended way. But I wanted to break it into separate files using the createfactory API according to the docs. But the createfactory API is not smart enough to infer the types.
22 replies
Hono RPC
Hey Coleretriever,
I finally figured out why I wasn't getting auto-complete in my Hobo RPC project. It turns out that breaking the app into modules was causing the issue. I tried using the createFactory method as suggested in the docs, but it wasn't working.
Luckily, I was able to resolve it by manually defining the types.
22 replies