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

Supporting streaming API calls to callable functions #1629

Merged
merged 13 commits into from
Nov 7, 2024
Merged

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Oct 22, 2024

The feature is not complete, but is fully backward compatible and not a risk to existing users.

One unintended change:

Since we are introducing optional 2nd argument the v2 callable handlers, we can no longer sniff the args length to differentiate v1 and v2 handlers. This requires us to explicitly set the version when invoking the the common HTTP callable wrapper.

@taeold taeold changed the title Supporting streaming API calls to 2nd Gen callable functions Supporting streaming API calls to callable functions Oct 25, 2024
@taeold taeold marked this pull request as ready for review October 29, 2024 21:33
Copy link
Contributor

@blidd-google blidd-google left a comment

Choose a reason for hiding this comment

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

LGTM, left some minor comments

src/v2/providers/https.ts Show resolved Hide resolved
src/v2/providers/https.ts Show resolved Hide resolved
src/common/providers/https.ts Outdated Show resolved Hide resolved
@taeold taeold added this pull request to the merge queue Nov 7, 2024
Merged via the queue into master with commit c5936c5 Nov 7, 2024
13 checks passed
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