4 ms·
Default values in proto are considered an anti pattern and was removed from the language in proto3. Agreed that protocol level required is bad, and it's with p
by kyrra 2y ago
Default values in proto are considered an anti pattern and was removed from the language in proto3.
Agreed that protocol level required is bad, and it's with proto3 made optional the default.
Our team enforces required fields via proto annotations, which can be much more flexible (we have transitional states to be able to upgrade or downgrade the check)
- deleted 2y ago[deleted]