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

chore(storage): handle object metadata (grpc) #7688

Merged
merged 4 commits into from
Apr 7, 2023

Conversation

BrennaEpp
Copy link
Contributor

  • t.Cleanup does not work with gRPC (connection is closed before t.Cleanup runs - probably a question of using defer elsewhere)

@BrennaEpp BrennaEpp requested review from a team as code owners April 4, 2023 18:40
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the Cloud Storage API. labels Apr 4, 2023
// TODO(cathyo): Handle metadata. Pending b/230510191.

if uattrs.Metadata != nil {
fieldMask.Paths = append(fieldMask.Paths, "metadata")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we specify which keys are being updated here using dot notation? I'm a bit confused so maybe we can discuss tomorrow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline, this was fine too but it'll be clearer to explicitly send added keys using dot notation, and we can do the same for deleted keys once/if we add support for deleting specific keys.

@BrennaEpp BrennaEpp requested a review from tritone April 6, 2023 19:39
@tritone tritone merged commit 4fedc34 into googleapis:main Apr 7, 2023
@BrennaEpp BrennaEpp deleted the grpc-obj-meta branch April 12, 2023 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants