-
Notifications
You must be signed in to change notification settings - Fork 45
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
Set-Cookie support in http #208
Conversation
src/WorkerChannel.ts
Outdated
@@ -139,7 +139,8 @@ export class WorkerChannel implements IWorkerChannel { | |||
} | |||
if (result) { | |||
if (result.return) { | |||
response.returnValue = toTypedData(result.return); | |||
let returnBinding = info.getReturnBinding(); | |||
response.returnValue = returnBinding ? returnBinding.converter(result.return) : toTypedData(result.return); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test verify this code path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added few comments. Thanks!
Please add a E2E test. |
…e-worker-protobuf. Branch: dev. Commit:bd4379767d6c25be59dfbe91dc57f6c03af9968b Tag: v1.1.0
@pragnagopa - as discussed offline, i've manually verified these changes. opening a separate work item for e2e tests so that we can get the changes out the upcoming release |
@@ -11,6 +11,7 @@ package AzureFunctionsRpcMessages; | |||
|
|||
import "google/protobuf/duration.proto"; | |||
import "identity/ClaimsIdentityRpc.proto"; | |||
import "shared/NullableTypes.proto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
note: e2e tests in devops temporarily failing for core tools 2.7.1385 |
Protobuf PR: Azure/azure-functions-language-worker-protobuf#32
Host PR: Azure/azure-functions-host#4317
For issue: Azure/azure-functions-host#2737
Resolves: #222