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
Hi,
I am not sure if this is a misunderstanding on my part of some bug, but when using the following message definition:
message Stuff { map<string, data.structs.v1.Team> teams = 1; }
nested in another message, leads to errors when decoding, I am getting the following error:
cannot decode map value for field package.structs.v1.Stuff.teams from JSON: object
The Team message itself has another map inside it, maybe that is somehow the culprit? The generation itself works fine.
Is this expected behaviour? Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hey @Arttii, we have tests for map fields with messages (see here) and are not aware of any issues with them.
Can you provide a reproducible example?
Sorry, something went wrong.
So this wont have a problem even if the message has another map in it right? In that case, maybe its something on my side. Thanks for the support.
No branches or pull requests
Hi,
I am not sure if this is a misunderstanding on my part of some bug, but when using the following message definition:
nested in another message, leads to errors when decoding, I am getting the following error:
The Team message itself has another map inside it, maybe that is somehow the culprit? The generation itself works fine.
Is this expected behaviour? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: