Skip to content

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