stackabletech / issues

This repository is only for issues that concern multiple repositories or don't fit into any specific repository
2 stars 0 forks source link

CRD enums are a compatibility hazard #661

Open nightkr opened 3 weeks ago

nightkr commented 3 weeks ago

This is more of a research/design question than a concrete "let's do this to fix this thing", but I want to bring it up anyway as something to think about as we discuss sharing more CRD types between operators.

Using a new enum variant will break parsing for old clients, even if it is unrelated to what you're trying to read from the object. #211 somewhat reduces the blast radius, but it's still problematic and surprising when you run into it. Especially if the new variants are used in default values.

A few implications of this: