-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gapic: doc.go refers to "NewClient" instead of service-specific constructors. #1077
Comments
Not an obsolete reference, but a naive one. It should be updated to include the The name that (potentially) goes in there is a reduction of the proto service name i.e. if the package is You'll notice in your first link that the value given to the |
Thanks @noahdietz - I'd be interested in fixing this but can't get to it for at least the next few weeks so let's leave it up for grabs. I'll follow up if/when I start any work on it. |
@quartzmo any interest in making this generated doc fix? |
🤖 I have created a release *beep* *boop* --- ## [0.32.0](v0.31.2...v0.32.0) (2022-08-16) ### Features * **gengapic:** rest-numeric-enums option enables enum-encoding sys param ([#1022](#1022)) ([6bbbf6f](6bbbf6f)) ### Bug Fixes * **gengapic:** fix linkParser regexp to support multi-line link tags ([#1098](#1098)) ([863675e](863675e)), closes [#1097](#1097) * **gengapic:** fix service-specific constructor name in doc_file.go ([#1099](#1099)) ([4f80726](4f80726)), closes [#1077](#1077) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Reviewing this code, it appears that client constructors include the names of their associated services.
But here, a comment in generated
doc.go
refers to an initializer namedNewClient
. Is that an obsolete reference?The text was updated successfully, but these errors were encountered: