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: simplify HTTP REST fallback setup #1434

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

alexander-fenster
Copy link
Contributor

Since google-gax v4, fallback is just a boolean because we removed the legacy proto-over-HTTP transport in googleapis/gax-nodejs#1471. This PR simplifies the generated code and considers fallback a boolean (though making it still possible to pass any string, which will result in a true value in google-gax).

This is not a breaking change for the libraries customers, because the client constructor still accepts both strings and booleans; it's just the parameter processing that changes.

@alexander-fenster alexander-fenster merged commit a82d0bd into main Aug 23, 2023
16 checks passed
@alexander-fenster alexander-fenster deleted the no-fallback-rest branch August 23, 2023 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants