Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.

fix: simplify HTTP REST fallback setup#1434

Merged
alexander-fenster merged 1 commit intomainfrom
no-fallback-rest
Aug 23, 2023
Merged

fix: simplify HTTP REST fallback setup#1434
alexander-fenster merged 1 commit intomainfrom
no-fallback-rest

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 requested a review from a team as a code owner August 23, 2023 20:46
@alexander-fenster alexander-fenster requested review from a team, leahecole and sofisl August 23, 2023 20:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants