-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure protobuf Message.__dir__ returns proto fields
Update Message.__dir__ method to ensure all proto fields of a message are included in the list of attributes. This solves the inconsistency between the Fast C++ and UPB proto implementation. The Fast C++ implementation was always returning fields while UPB never. Improve a unit test to detect that. PiperOrigin-RevId: 708262631
- Loading branch information
1 parent
3b2bb51
commit 1803f8b
Showing
2 changed files
with
23 additions
and
10 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