StefanWallin
StefanWallin
TtRPC
Created by StefanWallin on 3/7/2024 in #❓-help
What's the best practices around tRPC to negotiate API-versions?
In my example I'm thinking about having a native app as a tRPC client and a locally deployed docker image as the tRPC server. Both of these are distributed "binaries" that might not be the latest version at any given time. Sooo. is there any best practice on how to identify tRPC "schema" changes so that I could implement api-version-negotitation? With REST I'd do it with a list of endpoints and what versions the server support for each endpoint and let the client match that to what it supports to check if we need to display and upgrade message.
5 replies