Skip to content

Implementing field mask as a set (some map implementation), rather than an array. #854

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

Closed
akashagrahari-mt opened this issue May 21, 2019 · 1 comment

Comments

@akashagrahari-mt
Copy link

It is frequently required to check whether a specific path exists in the list of field mask paths. Implementing it as a set would make it a lot easier.

@dsnet
Copy link
Member

dsnet commented May 21, 2019

Closing as duplicate of #398.

The underlying representation can’t be a map since it must be a faithful representation of what field_mask.proto specifies. That said we intend to provide functionality to make it easier to interact with field mask.

@dsnet dsnet closed this as completed May 21, 2019
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants