Skip to content
Snippets Groups Projects
Commit c84d67e8 authored by murgatroid99's avatar murgatroid99
Browse files

Keep changes from #10093

parent a5ea8f21
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service, ...@@ -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,
......
...@@ -121,6 +121,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service, ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment