Skip to content
#

protoc

Here are 144 public repositories matching this topic...

crunk1
crunk1 commented Oct 20, 2021

Hi all!

I'm using thethingsindustries/protoc, so it's not super easy for me to test newer versions of PGV. Forgive me if this is already fixed. When using map.keys.string.in, the generated code results in a reference to an undefined function.

Consider this snippet from my proto:

message SetOrgDefaultAlertRulesReq {
  map<string, AlertRule> alertRules = 1 [(validate.rules).map.key
PauloRAndrade
PauloRAndrade commented Oct 25, 2021

Summary

I'm unable to compile protos since I got a macbook with an M1.

Steps to Reproduce

I run the following to compile:

docker run --platform linux/amd64 --rm -v ${PWD}:${PWD} -w ${PWD} rvolosatovs/protoc \
 		--proto_path=. \
 		--go_out=./pb/go \
 		--go_opt=paths=source_relative \
 		--go-grpc_out=./pb/go \
 		--go-grpc_opt=paths=source_relative \
 		--grpc-ga

Improve this page

Add a description, image, and links to the protoc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the protoc topic, visit your repo's landing page and select "manage topics."

Learn more