-
Notifications
You must be signed in to change notification settings - Fork 131
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
Update update #6336
Update update #6336
Conversation
API change check APIView has identified API level changes in this PR and created following API reviews. |
sdk/tables/azure-data-tables/inc/azure/data/tables/table_client.hpp
Outdated
Show resolved
Hide resolved
auto updateResponse | ||
= m_tableClient->UpdateEntity(entity, Azure::Data::Tables::Models::UpdateMode::Update); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the tests here validate the difference between Update and Merge, based on the observable behavioral difference on the returned response or model?
E.g. if I change Update to Merge here, will the test fail or continue to pass?
It would be a good idea to add some assert to check the enum is honored as expected.
…t.hpp Co-authored-by: Ahson Khan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable to align with other languages.
I would recommend having @LarryOsterman to review/approve before merging given the offline discussion.
reopening so i don't lose it till we come to a conclusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, it looks good to me, I don't see problems, but please check with the other team members (Larry, Ahson) who thought deeper and had more thoughts about it.
closes #6329
Based on the others languages mplementations the update and merge methods are being combined, upsertKind becomes updatemode, and the update method takes a new param
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.