Skip to content
#

protoc

Here are 151 public repositories matching this topic...

torkelrogstad
torkelrogstad commented Dec 22, 2021

The less than/greater than checks should check if the input value is NaN. NaN is defined to not be equal to any other number, and all numerical comparisons yield false. Therefore, if I have a field that's annotated with (for example) (validate.rules).double.gt = 0, that field should fail validation if given NaN.

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