How can I disable batching with fastify adapter?
I cant seem to find a way to disable batching for my server, and this link doesnt help me much https://trpc.io/docs/v9/links#disabling-request-batching
what am I missing? I fell like I miss a sentence or 2 from the docs....
Links & Request Batching | tRPC
Similar to urql's exchanges or Apollo's links. Links enables you to customize the flow of data between tRPC Client and the tRPC-server.
2 Replies
Maybe use httpLink instead of httpBatchLink?
https://trpc.io/docs/links/httpLink
HTTP Link | tRPC
httpLink is a terminating link that sends a tRPC operation to a tRPC procedure over HTTP.
ill try