Struggling with RpcServer Implementation in @effect/rpc Library
sorry guys, I'm not able to follow the '@effect/rpc' docs to implement my RpcServer. I have a type extending the RpcGroup with the schema for the requests, and I can get
HttpLive to type-check by doing const webApp = yield* RpcServer.toHttpApp(MyRpcGroup) and then HttpRouter.post('/rpc', webApp) but at no time does that use my handlers implementation that I create by doing MyRpcGroup.toLayer. I think the README skips a few steps (i.e. it doesn't show what goes in import { appRouter } from "./router.js". Can you guys help me understand how the library works? Thank you so much