Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UpdateExpression breaking when setting the same field twice. #2

Open
ojii opened this issue Mar 2, 2018 · 2 comments
Open

Fix UpdateExpression breaking when setting the same field twice. #2

ojii opened this issue Mar 2, 2018 · 2 comments

Comments

@ojii
Copy link
Contributor

ojii commented Mar 2, 2018

No description provided.

@dimaqq
Copy link
Contributor

dimaqq commented Mar 31, 2020

I have a gut feeling that this was fixed in the fast branch...

@ojii
Copy link
Contributor Author

ojii commented Mar 31, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants