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

ERROR IN V1.1.0 #14

Closed
aireet opened this issue Aug 20, 2021 · 2 comments
Closed

ERROR IN V1.1.0 #14

aireet opened this issue Aug 20, 2021 · 2 comments

Comments

@aireet
Copy link

aireet commented Aug 20, 2021

when i update v1.1.0

i got this

protoc-gen-go-json: parse error --go-json_out: protoc-gen-go-json: Plugin failed with status code 1. make: *** [gen-grpc] Error 1

@simonxmh
Copy link

This was causing issues for me as well. It was the latest change in the repo #9

You need to change existing flags to a boolean:
for example.
--go-json_out=enums_as_ints=true,emit_defaults=true:/out-dir

@mitchellh
Copy link
Owner

Yes sorry, this was a breaking change (unexpected) from updating to the latest Go proto libraries. The README is up to date.

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

No branches or pull requests

3 participants