mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Don't modify proto method names in service paths in Node library
This commit is contained in:
parent
d741f67ade
commit
e6690d6ee5
@ -125,7 +125,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service) {
|
||||
var prefix = '/' + fullyQualifiedName(service) + '/';
|
||||
return _.object(_.map(service.children, function(method) {
|
||||
return [_.camelCase(method.name), {
|
||||
path: prefix + _.capitalize(method.name),
|
||||
path: prefix + method.name,
|
||||
requestStream: method.requestStream,
|
||||
responseStream: method.responseStream,
|
||||
requestSerialize: serializeCls(method.resolvedRequestType.build()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user