-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package name end with .Protobuf
in proto3
#130
Comments
The word "Protobuf" is a reserved name for standard packages from google. |
"Google.Protobuf" is a reserved name? But i see other language can supports "xxx.Protobuf" as package name. |
I confirm, other languages support package name like com.something.somethingelse.protobuf. "protobuf" in package name doesn't seem to be reserved word. I've encountered the same issue when tried to compile proto file from my project (actively used with several mainstream languages). |
protoc
protobuf-swift
Cocoapods
Error
if named package end with
.Protobuf
, theswift
file will has wrong package name..proto
file.swift
fileOK
if package named end with other word like
Swift.Protobuf1
, it's look good..proto
file.swift
fileThe text was updated successfully, but these errors were encountered: