-
-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add full name for Option to resolve name conflicts
Fixes #1623
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
|
||
package com.thesamet.proto.e2e.issue1623; | ||
|
||
message CreditCard {}; | ||
|
||
message PayPal {}; | ||
|
||
message Money {} | ||
|
||
message PaymentMethod { | ||
string id = 1; | ||
Money money = 2; | ||
oneof option { | ||
CreditCard credit_card = 3; | ||
PayPal paypal = 4; | ||
} | ||
} |