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: add a close() method to the generated SubscriberClient for 1.x #948

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Apr 8, 2020

Apparently the gapic generated SubscriberClient also doesn't have a close() method. This adds another synth.py hack and corresponding change in the .js file. Also a new system-test to catch subscribers specifically.

Follow-on fix for #937

A proper fix is happening at #923 but it will require bumping major versions, so I'm basically backporting this for 1.7.x.

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

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

I commend the clever hackery.

synth.py Show resolved Hide resolved
@feywind feywind merged commit cd98621 into googleapis:legacy-8 Apr 8, 2020
@feywind feywind deleted the subscriber-close branch April 8, 2020 21:31
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.

None yet

3 participants