Should applyWrites
offer swapRecord
options for update and deletion ops?
#2003
DavidBuchanan314
started this conversation in
Protocol (atproto)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
applyWrites
has an optionalswapCommit
parameter that applies to the whole transaction, which makes sense. However, I think it would be good if there were also optionalswapRecord
fields for individual update and deletion operations, to match the functionality of theupdateRecord
anddeleteRecord
APIs respectively.By the way, I don't have a specific need for this feature in mind, but it does seem like an asymmetry in the
applyWrites
API vs the not-batched versions.Beta Was this translation helpful? Give feedback.
All reactions