Skip to content

Feature request: allow transformations between descriptor.proto objects and reflection objects #757

Open
@murgatroid99

Description

@murgatroid99

protobuf.js version: 6

It would be useful to be able to take a message of a type defined in google/protobuf/descriptor.proto, and convert it into the corresponding reflection object, and also be able to convert the other way. Of course, some of them don't really make sense, but I would like, for example, to be able to load a DescriptorProto message instance as a Message object, and conversely to be able to extract a DescriptorProto instance from a Message object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions