We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My Proto file looks something like this:
message ProviderLoginUrlRequest { string name = 1; string redirect_uri = 2; map<string, string> state = 3; }
The string properties have these methods:
getName
setName
getRedirectUri
setRedirectUri
But the map type has only these two methods:
getStateMap
clearStateMap
Is this an intentional decision, or a bug? Is there not supposed to be a way to set map properties?
The text was updated successfully, but these errors were encountered:
Never mind! I figured out that the property always at least has an empty Map object. To add properties to it, do...
instance.getStateMap().set('key', 'val');
Hopefully other people will find this googling the same symptoms I was.
Sorry, something went wrong.
same issue. Finally found a solution !! thanks very much !!!
No branches or pull requests
My Proto file looks something like this:
The string properties have these methods:
getName
setName
getRedirectUri
setRedirectUri
But the map type has only these two methods:
getStateMap
clearStateMap
Is this an intentional decision, or a bug? Is there not supposed to be a way to set map properties?
The text was updated successfully, but these errors were encountered: