Interview practice question
Backend change breaks old app versions
Backend Engineering · API Design · Experienced
A backend change removed an enum value from responses, and old app versions crashed because they couldn't parse a new value. How do you design APIs and clients to avoid this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Clients must tolerate unknown enum values/fields.
- Document enums as extensible.
- Add values, don't repurpose.
- Test with old client versions.
- Feature flags per client version.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.