Skip to content
#

protoc-plugin

Here are 29 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.

Improve this page

Add a description, image, and links to the protoc-plugin 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-plugin topic, visit your repo's landing page and select "manage topics."

Learn more