Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ijschwabacher
Copy link
Contributor

Because in is a []byte, as written this prints a list of integers instead of the unrecognized enum value.

Because `in` is a []byte, as written this prints a list of integers instead of the unrecognized enum value.
@dsnet dsnet changed the title Fix a confusing error message. jsonpb: fix a confusing error message May 11, 2020
@dsnet
Copy link
Member

dsnet commented May 11, 2020

Bug fix approved since it fixes a regression relative to v1.3.5. See

return fmt.Errorf("unknown value %q for enum %s", s, prop.Enum)

@dsnet dsnet merged commit 00998c7 into golang:master May 11, 2020
This was referenced Mar 16, 2021
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

Successfully merging this pull request may close these issues.

2 participants