From 4cfb01d7bf6e334f7b852cc499f0c5f14289d4a5 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 13 Jan 2016 10:05:00 -0800 Subject: [PATCH 1/2] Don't modify proto method names in service paths in Node library --- src/node/src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/src/common.js b/src/node/src/common.js index e4fe5a8e035..19336ab840f 100644 --- a/src/node/src/common.js +++ b/src/node/src/common.js @@ -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()), From 6cf15e0f65846aab31af11e52dfc17cfbe81c24c Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Thu, 14 Jan 2016 11:09:08 -0800 Subject: [PATCH 2/2] Updated copyright in node/common.js --- src/node/src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/src/common.js b/src/node/src/common.js index 19336ab840f..2e6c01c4d74 100644 --- a/src/node/src/common.js +++ b/src/node/src/common.js @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without