Conversation
|
Sure, this addresses my concerns. Personally, I'd drop the recommendation of synthesizing rollback, since it's error-prone especially for some providers, but I'm also not particularly bothered. Thanks a ton for addressing this, I appreciate it. |
|
I will make the language a little more cautious about rollback then. |
|
One last thought... should it be called |
I think that |
|
Sounds good, thanks both! |
|
Is this pattern production ready? I upgraded my libdns ovh package with SetRecords atomatic behavior, I used the AtomicErr type. |
Ok, I've tagged v1.1.0 just now, so you should be able to use that instead. Hopefully @mholt doesn't mind :) |
|
Not at all, thank you for beating me to it! |
This introduces AtomicErr, and clarifies the documentation regarding atomicity. It is no longer expected/required for SetRecords, but encouraged, and AtomicErr can be returned to inform callers of the state of their zone.