-
Notifications
You must be signed in to change notification settings - Fork 35
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 with uppercase letters is not properly generated #87
Comments
could you please share the version of protoc? |
I think it's in this package ? @smnbbrv "grpc-tools": "^1.11.2",
"@ngx-grpc/protoc-gen-ng": "^3.0.1" |
But I use Windows ! I will try the linux command to see if there is a difference |
Yes, this is using protoc cancelSession: (
requestData: thisProto.ArmoniK.api.grpc.v1.Session,
requestMetadata = new GrpcMetadata()
): Observable<GrpcEvent<thisProto.ArmoniK.api.grpc.v1.Empty>> => {
return this.handler.handle({
type: GrpcCallType.unary,
client: this.client,
path: '/ArmoniK.api.grpc.v1.Submitter/CancelSession',
requestData,
requestMetadata,
requestClass: thisProto.ArmoniK.api.grpc.v1.Session,
responseClass: thisProto.ArmoniK.api.grpc.v1.Empty
});
} ( with this package: |
I guess this is an issue and it should be fixed on a lib side. However, according to the google protobuf styleguide
Please use the lowercase names only for packages and the issue won't appear. |
You're a king man! It seems to work now that package name is "armonik.api.grpc.v1"! |
you are welcome! I'm glad it worked out! Please leave the issue open, when there is time to deal with it, it's gonna be fixed |
Let's assume the following proto file:
The generator will not work because it wil generate this:
instead of this
The text was updated successfully, but these errors were encountered: