StefanWallin
StefanWallin
TtRPC
Created by StefanWallin on 3/7/2024 in #❓-help
What's the best practices around tRPC to negotiate API-versions?
Hello Malmö, Sundsvall calling! But the essence of this is to know when the contract changes, but what approach would you recommend for somehow versioning the contract? My gut tells me to duplicate my trpc-endpoint and schema whenever I make a change and a normal restendpoint claiming what versions the server supports.
5 replies