Skip to content

Incorrect resolution of types of same name #740

@robin-anil

Description

@robin-anil

protobuf.js version: 6.6.5

I have a MyMessage with a nested enum called Action and another top level message called Action. The resolveAll() call is associating the field action inside MyMessage which should be tied to the enum and instead associating it with top level Action type.

the resolution logic should first check local scope before resolving the Type at the namespace level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions