Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct naming for making async calls (#1365)
Motivation: Generated 'makeMethodCall' functions on the async client use the casing of 'Method' as it is defined in the .proto file. Methods are defined in the proto file with 'UpperCamel' casing, so 'makeUpperCamelCall' is correctly cased. However a 'lowerCamel' method would be generated as 'makelowerCamelCall'. We should instead coerce it to be 'makeLowerCamelCall'. We missed this in other areas too, as an example, for interceptors we will generate 'makelowerCamelCallInterceptors'. Unfortunately we can't change this one without the risk of breaking adopters. However, since async is yet to be stable API we can fix this one. Modifications: - Use upper camel casing for 'makeMethodCall' function names Result: Better naming.
- Loading branch information