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

Incorrect resolution of types of same name #740

Closed
robin-anil opened this issue Apr 2, 2017 · 0 comments
Closed

Incorrect resolution of types of same name #740

robin-anil opened this issue Apr 2, 2017 · 0 comments
Labels

Comments

@robin-anil
Copy link
Contributor

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.

@dcodeIO dcodeIO added the bug label Apr 2, 2017
@dcodeIO dcodeIO closed this as completed in d1e3122 Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants