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

Set-Cookie support in http #208

Merged
merged 15 commits into from
Jun 18, 2019
Merged

Set-Cookie support in http #208

merged 15 commits into from
Jun 18, 2019

Conversation

mhoeger
Copy link
Contributor

@mhoeger mhoeger commented May 14, 2019

@mhoeger mhoeger changed the title [Do not merge until proto replaced] Cookie support in http Set-Cookie support in http May 14, 2019
@mhoeger mhoeger requested review from pragnagopa and fabiocav May 14, 2019 22:47
@@ -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);
Copy link
Member

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.

Copy link
Member

@pragnagopa pragnagopa left a 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!

@pragnagopa
Copy link
Member

Please add a E2E test.

@mhoeger
Copy link
Contributor Author

mhoeger commented Jun 14, 2019

@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";
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

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

👍

@mhoeger mhoeger merged commit 933d353 into Azure:dev Jun 18, 2019
@mhoeger
Copy link
Contributor Author

mhoeger commented Jun 18, 2019

note: e2e tests in devops temporarily failing for core tools 2.7.1385

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.

Allow setting cookies in JavaScript Response object
2 participants