forked from bufbuild/protocompile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Found and fixed a bug in FieldDescriptor.Cardinality implementation (b…
…ufbuild#270) Updates the descriptor implementation tests to check a few other attributes, which uncovered a bug in the `Cardinality` method, which should report "required" for editions fields where `features.field_presence == LEGACY_REQUIRED`. (cherry picked from commit a556a4b)
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters