Ignore empty with no validation causes invalid python to be generated via the jinja template #843
Labels
Bug
Reports and/or fixes a bug
Good First Issue
Newcomer-friendly issue
Python
Python language support
Version:
protoc-gen-validate = "^0.10.1"
I didn't see any docs indicating the validation would raise an exception if ignore_empty wasn't placed alongside an actual validation rule. Not sure on the lift here to simply ignore generating the python code template for fields that express ignore empty without validation rules.
Could we just make these indented
pass
for instead of returningNone
?The text was updated successfully, but these errors were encountered: