Keep changes from #10093

This commit is contained in:
murgatroid99 2017-04-03 16:52:03 -07:00
parent bac6f2a59a
commit 2ecbbe055c
2 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service,
return _.camelCase(method.name); return _.camelCase(method.name);
}), _.map(service.children, function(method) { }), _.map(service.children, function(method) {
return { return {
originalName: method.name,
path: prefix + method.name, path: prefix + method.name,
requestStream: method.requestStream, requestStream: method.requestStream,
responseStream: method.responseStream, responseStream: method.responseStream,

View File

@ -121,6 +121,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service,
return _.camelCase(method.name); return _.camelCase(method.name);
}), _.map(service.methods, function(method) { }), _.map(service.methods, function(method) {
return { return {
originalName: method.name,
path: prefix + method.name, path: prefix + method.name,
requestStream: !!method.requestStream, requestStream: !!method.requestStream,
responseStream: !!method.responseStream, responseStream: !!method.responseStream,