db0@lemmy.dbzer0.com to Programmer Humor@programming.dev · 10か月前That shadowy placelemmy.dbzer0.comimagemessage-square39fedilinkarrow-up11.03K
arrow-up11.03KimageThat shadowy placelemmy.dbzer0.comdb0@lemmy.dbzer0.com to Programmer Humor@programming.dev · 10か月前message-square39fedilink
minus-squareLongpork3@lemmy.nzlinkfedilinkarrow-up2·10か月前A translation layer could be used, no? Check api version, translate any v1 specific calls into their v2 counterparts, then submit the v2 request?
minus-squareCosmicTurtle0@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·10か月前This isn’t really efficient because when v2 gets updated now you have to update the translation layer as well. Any improvements you made in v2 would likely not translate. Essentially the best way is to provide users with an incentive to switch. Perhaps a new feature or more requests.
minus-squarePieisawesome@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·10か月前Publish v3, then add a translation layer for v2 to v3
A translation layer could be used, no? Check api version, translate any v1 specific calls into their v2 counterparts, then submit the v2 request?
This isn’t really efficient because when v2 gets updated now you have to update the translation layer as well.
Any improvements you made in v2 would likely not translate.
Essentially the best way is to provide users with an incentive to switch. Perhaps a new feature or more requests.
Publish v3, then add a translation layer for v2 to v3