yoheimuta / protolint

A pluggable linter and fixer to enforce Protocol Buffer style and conventions.
MIT License
576 stars 52 forks source link

Every new field will be added with the optional tag check? #318

Open scarshad opened 1 year ago

scarshad commented 1 year ago

Do we have support to check if the new field is added is optional or not? I want it for the backward compatibility support

yoheimuta commented 1 year ago

@scarshad Thank you for reaching out! Currently, protolint does not support the feature regarding the existence of "optional".

Is it a common use case to check it for backward compatibility? That being said, it may be worthwhile to add this check.