6 ms·
-1 for Stripe. The API is designed without any thought how the use cases need to use it. Leaks the JSON structure of the document to the client. This breaks you
by bparanj 10y ago
-1 for Stripe. The API is designed without any thought how the use cases need to use it. Leaks the JSON structure of the document to the client. This breaks your code when they change the JSON structure.
- kornish 10y agoWell, all code depending on JSON presumably breaks when that JSON changes. That's what versioning is for. What do you mean by "Leaks the JSON structure of the document to the client"?
- nfm 10y agoI'm not sure what you mean about changing the JSON structure; the Stripe API is versioned and you have to opt-in to any updates, including breaking changes like removing or renaming keys in the response.