4 ms·
When I build some kind of API, I would usually also provide a library for the clients. This library would to an extent perform the function of "ambassador". It
by onetimeuse92304 3y ago
When I build some kind of API, I would usually also provide a library for the clients. This library would to an extent perform the function of "ambassador". It captures my intended logic to handle certain situations that are not described by purely functional part of API contract.
And yes, this library usually also covers things like retries and handling errors and outages.
Maintaining an entire service to achieve the same seems like really expensive way to achieve this...