go-zendesk icon indicating copy to clipboard operation
go-zendesk copied to clipboard

safe_update support

Open haizaar opened this issue 4 years ago • 2 comments
trafficstars

Good day,

We have a situation where two processes update Zendesk ticket and quite often step on each other's toes causing lost updates.

After doing some research, I found that ZD API indeed supports cooperative locking mechanism as described here: https://develop.zendesk.com/hc/en-us/articles/360059146153#protecting-against-ticket-update-collisions

It will be really great to have this supported in go-zendesk. WDYT?

haizaar avatar May 04 '21 14:05 haizaar

That's a really good idea :)

eggman64 avatar Jul 14 '21 12:07 eggman64

This PR #106 implements the safe_update

alexei-led avatar Nov 30 '21 09:11 alexei-led