nmeng
Explore posts from serversOne file per function call on the server side
so would I from the endpoint file export e.g.
const endpointFactory = (procedure) => procedure.input().query(() => { ... })
and then (in the app router) do router({ endpoint: endpointFactory(t.procedure), })
which seems ... over the top9 replies