-
Notifications
You must be signed in to change notification settings - Fork 25
Integrate latest RPC protocol changes #281
Comments
Released 7 minutes ago. Fast on the pickup. What needs to be changed? |
We'll need to expose the cookies via the |
Would this be worth setting up a time to pair-program on? |
Would you like to take a crack at this? We'll need to update the protobuf submodule and then build the From there, add new functionality to I might have time to pair on this later this week (today is crazy). |
I would. I can read up on it. I am being sent to training Tuesday through Thursday, but could could do some evening time or during work hours on Friday. |
@t-eckert I've assigned this one to you given your interest. I can handle updating my fork of the Azure Functions protocol repo so that we have the latest changes from upstream. You'll need to regenerate the RPC code:
You will need Once the RPC code is generated, the rest of the work is exposing the new cookies interface on |
I started a skeleton file of what you might be looking for: https://github.com/t-eckert/azure-functions-rs/blob/RCP-http-cookies/azure-functions/src/http/cookie.rs Is there an example similar to what I'm trying to do that I can use to understand how to connect into the RPC from the cookie file? |
You can look to Look to the RpcHttpCookie type to figure out what we need to expose. In this case, since we can set cookies in the response, we'll need to extend the The idea is that we hide away the gRPC implementation details from the users in case it changes and it allows us to offer a simpler API. |
@t-eckert how's this work proceeding? Let me know if you need any assistance. |
@peterhuene, I did some beginning cursory work, but lost the plot. It would be helpful to do a chat and scope out the work. I am on east coast time right now. Just let me know what your schedule looks like. |
I'll have some time tomorrow around noon PST if that works for you. If not, hit me up on Teams and hopefully I'll be free. |
Marking blocked on #346. |
I think post-hackathon I have a better grasp on what needs to be done for this. We can confab on it this week. |
I'd like to get #346 fixed first as I think that would make it easier to implement this change. For #346, I think we should basically pull the data out from the binding data and into the For |
I'm doing this as part of #346. |
This commit refactors HttpRequest and HttpResponse to directly store the data rather than an inner `RpcHttp`. It also implements support for cookies in `HttpRequest`, `HttpResponse`, and `ResponseBuilder`. Also enables more lints and fixes the clippy warnings. Binding attributes for parameters have moved to the parameters in the examples and documentation. Fixes #346. Fixes #281.
See https://github.com/Azure/azure-functions-language-worker-protobuf/releases/tag/v1.1.0-protofile.
The text was updated successfully, but these errors were encountered: