Skip to content

Convert Map values to relevant data type #604

Open

Description

@vikrantest

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.

Activity

  1. samber commented on Feb 28, 2025

    @samber
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions