API Design · Junior · Question 43 of 75
Why should clients ignore unknown fields in responses?
- 1Ignoring fields saves bandwidth
- 2Unknown fields are always errors
- ✓Correct answer: So servers can add fields without breaking them; strict clients that fail on new fields make every addition a breaking change
Explanation
This 'tolerant reader' principle is part of most API guidelines.