Discovergo podcast()031: Using shim on API to prevent breaking changes
031: Using shim on API to prevent breaking changes

031: Using shim on API to prevent breaking changes

Update: 2024-03-14
Share

Description

In 2021 Twilio sent a termination email on their Fax services. I was consulting as the CTO in a credit bureau that was in the start of an acquisition process with Equifax Canada. There was just no time to "waste" on changing provider and rewriting this part of the system to satisfy the new provider API.

Would have been grand if the provider would have offered a shim that replicated Twilio's API and map that to their own API. Imagine how many companies needed to rewrite this part at the same time. Offering this as the provider that receives X thousands new customers would have been a superb engineering experience.

So maybe we can apply this concept internally as well. When a team needs to introduce breaking changes, a good solution might be for them to provide a shim over the old API so no other teams need to do anything.

This is obviously a tad dangerous and might introduce some technical debt. But as everything, it depends.

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

031: Using shim on API to prevent breaking changes

031: Using shim on API to prevent breaking changes

Dominic St-Pierre