-
Notifications
You must be signed in to change notification settings - Fork 315
Adds partial document updates in data_cosmos #1454
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
Conversation
…l-larsen/azure-sdk-for-rust into data_cosmos_document_patch
Add { path: String, value: Value }, | ||
Remove { path: String }, | ||
Set { path: String, value: Value }, | ||
Incr { path: String, value: Value }, |
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.
Given the documentation specifies this must be a positive or negative value, what are your thoughts on having this be a serde_json::value::Number
?
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.
That makes sense to me.
Adds partial document updates in data_cosmos. Partial document updates are described here , and the REST API is documented here. An example is shown below.