aiodynamo
aiodynamo copied to clipboard
Fix UpdateExpression breaking when setting the same field twice.
I have a gut feeling that this was fixed in the fast branch...
It will raise a server-side ValidationException, like aiodynamo.errors.ValidationException: {'__type': 'com.amazon.coral.validate#ValidationException', 'message': 'Invalid UpdateExpression: Two document paths overlap with each other; must remove or rewrite one of these paths; path one: [f], path two: [f]'}. Ideally UpdateExpression would catch such errors.