InterviewBuddy
All interview questions

How can an API evolve without breaking existing clients?

Intermediate

Answer

Prefer compatible additions, deprecate old behavior, measure usage, and coordinate removal or versioning of breaking changes.

Explanation

Adding a required input or changing a field type can break existing requests.

Example

Introduce displayName, deprecate name, and migrate clients before removal.