This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change how to set the Dart name of a field
The old way was by passing a --field_name flag to the protoc generator. (However, it's doubtful whether anyone was using it.) The new way is to use the field_name option on the .proto file. For example: optional string some_field = 1 [ (dart_options.dart_name) = "renamedField" ]; Based on a patch by Frederik Mutzel. BUG= R=frederikmutzel@google.com, sgjesse@google.com Review URL: https://chromiumcodereview.appspot.com//2043913005 .
- Loading branch information
Brian Slesinsky
committed
Jun 9, 2016
1 parent
03fbc43
commit d72f760
Showing
15 changed files
with
515 additions
and
337 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
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
Oops, something went wrong.