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

Convert Map values to relevant data type #604

Open
vikrantest opened this issue Feb 28, 2025 · 1 comment
Open

Convert Map values to relevant data type #604

vikrantest opened this issue Feb 28, 2025 · 1 comment

Comments

@vikrantest
Copy link

In protobuf, I am using a map field -> map<string, google.protobuf.Any>. After compilation is getting converted into ma[string]*anypb.Any ,Now if I want to pass this to a template renderer engine, I am converting it manually in many places. Maybe we can have these types of conversion utils for the map also.

@samber
Copy link
Owner

samber commented Feb 28, 2025

Can you give an example of the conversion you're doing please ?

Anyway, it seems too specific to the protobuf library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants