Skip to content
Discussion options

You must be logged in to vote

Generally, there isn't much a backend can do when the consuming code asserts invariants, e.g. requires a specific field to be present. This is also the reason why protobuf version 2 => 3, they abandoned required fields. Similarly, if you only add/remove nullable columns, similarly the client will need to handle the null case explicitly and removal is safe.

Otherwise, breaking changes will require coordination. This is not specific for TrailBase and you can find many opinions and strategies. Typically, it will look something like:

  1. update the client to stop requiring the column you're planning to remove effectively marking it obsolete.
  2. roll out your changes and wait or otherwise incentiviz…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ignatz
Comment options

You must be logged in to vote
5 replies
@ignatz
Comment options

@eugenefil
Comment options

@ignatz
Comment options

@ignatz
Comment options

@eugenefil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants