SaveObjects and using incrementfrom

My objects have some nested attributes, and I would like to update them. To account for race conditions I would like to use versioning via IncrementFrom. The “version” attribute is not nested. I looked at the documentation, as I understand this.

  • It looks like PartialUpdateObject does not allow updating nested attributes;
  • SaveObject is recommended to use to update nested attributes, but does not support IncrementFrom

I can replace the entire nested attribute set/list, using partialUpdateObject, not sure if that’s an option?

What option(s) do I have to replace or update nested attribute to account for race conditions ?