-
Notifications
You must be signed in to change notification settings - Fork 666
setMetadata() method merges existing with new data? #597
Copy link
Copy link
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Milestone
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Looks like if I call
setMetadataon an object, it merges the data with what's in production...I suspect that we can't .. fix this all that much... but maybe we can at least document it ?
The options we have so far:
setMetadatagetMetadata(key)andsetMetadata(key, value)setMetadatatopatchMetadataormergeMetadatasetMetadata/cc @Capstan @aozarov