restate
restate copied to clipboard
Persist min/max supported protocol versions by a service endpoint
This commit validates and persists the reported min/max protocol version for a service endpoint in the DeploymentMetadata.
This fixes https://github.com/restatedev/restate/issues/1507.
You need to add the accept header in the request, and check the response contains a supported content-type header too.
This isn't implemented in this PR and will be done by a follow-up PR.
Thanks for your review @slinkydeveloper. I've addressed your comments and pushed an update. PTAL.