What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects AssetEmployerSponsoredIndicator on AssetDetail reachable from 2 operations.
New values: No, Yes.
can now return "No", "Yes"
Who is affected
Code that reads Plaid's AssetDetail objects, used by 2 Plaid operations.
Before and after
| Where | Before | After |
|---|---|---|
| AssetDetail.AssetEmployerSponsoredIndicator | false, true | "No", "Yes" |
| AssetDetail.AssetRetirementIndicator | false, true | "No", "Yes" |
| AssetHolding.AssetHoldingRestrictedIndicator | false, true | "No", "Yes" |
Code that breaks
switch (response.AssetEmployerSponsoredIndicator) {
// existing branches …
// no branch for "No"
// no branch for "Yes"
default:
throw new Error("unexpected AssetEmployerSponsoredIndicator");
}Based on Plaid’s published API specification. How severity is decided.