Skip to content
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

fix: provide missing close() method in the generated gapic client #941

Merged
merged 5 commits into from
Apr 6, 2020

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Apr 4, 2020

Fixes: #937

The issue is that our TypeScript gapic generator provides a close() method, but the old JavaScript one doesn't seem to. So the close() feature addition was relying on some invalid typings. I've backported that for publisher client, and added a system-test that will hopefully catch future issues.

Going forward, the TypeScript gapic upgrade is definitely the right fix here, but that's also going to bump us up to Node 10+, so I want to fix this existing feature first.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 4, 2020
Copy link
Contributor

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please file a bug to come back and clean this up as part of the microgenerator / node10 upgrade!

@feywind feywind merged commit 6bf8f14 into googleapis:master Apr 6, 2020
@feywind feywind deleted the gh937-backport-close branch April 6, 2020 22:02
gcf-merge-on-green bot pushed a commit that referenced this pull request Apr 6, 2020
🤖 I have created a release \*beep\* \*boop\* 
---
### [1.7.1](https://www.github.com/googleapis/nodejs-pubsub/compare/v1.7.0...v1.7.1) (2020-04-06)


### Bug Fixes

* provide missing close() method in the generated gapic client ([#941](https://www.github.com/googleapis/nodejs-pubsub/issues/941)) ([6bf8f14](https://www.github.com/googleapis/nodejs-pubsub/commit/6bf8f1481a1dea051c47697488e13b6facf20a26))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
@feywind feywind mentioned this pull request Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PubSub.close throws error
4 participants