Timeline for Is it common practice to validate responses from 3rd party APIs?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 26, 2020 at 3:06 | comment | added | aaaaaa | That wasn't true with npm for a long time Ben Cottrell - which has been the de-facto package manager for javascript since day one. So your comment is wrong | |
May 25, 2020 at 11:31 | comment | added | Ben Cottrell | No, that isn't going to happen with any half-decent package manager, since it would only use the precise version of an installed package and will not just automatically choose a newer version. A developer has to be actively and consciously updating to a newer version of the package, which means they know about the fact that the package has changed, and are also putting the whole system through the CI/CD pipeline again, as well as its standard QA process | |
May 20, 2020 at 17:29 | comment | added | aaaaaa | couldn't the same be said about accidental semver breakages in packages ? | |
May 20, 2020 at 17:09 | comment | added | Ben Cottrell | Perhaps if the API is no longer under active development, but this is frequently not the case. For example, Amazon, Ebay, Royal Mail or DPD all have APIs which are constantly changing and evolving. It's not unusual for those to have surprise changes, outdated documentation, server errors, etc. No disrespect to the people who develop and maintain those APIs; but any platform which is under active development is prone to breaking. Developers are merely human and just as likely to make mistakes on these as a developer working on any other growing/evolving software platform. | |
May 19, 2020 at 18:35 | comment | added | aaaaaa | haha - I disagree given most api's I've worked with are versioned and should be dependable as such - therefor negating "automatically recompile itself with latest builds...". Given your different experience I understand your point though. | |
May 19, 2020 at 2:31 | comment | added | Alexei Levenkov | Deployed code that automatically recompile itself with latest builds of all related packages is rather rare... so I don't think you comparison is useful. "Normally apis are versioned, are documented and shouldn't have surprise changes - all like packages." - not really sure where you code... I'd love to move to that world :) | |
May 19, 2020 at 0:08 | history | answered | aaaaaa | CC BY-SA 4.0 |