Open timvw01 opened 1 year ago
Did you find an answer to this @timvw01 ?
https://github.com/hyperium/tonic/discussions/1111 is perhaps relevant
I got it to work in the end, but had to make a couple of changes to this crate. I think the changes are too specific for my case to make a pull request, but i can publish the code if desired. Perhaps the suggestion of rbtcollins works as well, haven't checked it yet.
I haven't looked at this code in quite a while, so it takes me some time to dive in to the details of this. If you think it could be valueable to someone else, and improves then I can definetely look at a pull request.
Otherwise we can just leave it as it until someone hits the same problem :)
I hit issue too (and I would like to use http1 too, like accept_http1(true)
)
I am trying to enable the grpcweblayer of tonic/tonic-web:
This results in the following compiler error:
Perhaps there is an easy way to map the tonic::Status to an axum::Error? Did anyone else run into this? I will try to find a solution.