Closed tsegismont closed 5 months ago
@vietj did I miss anything?
I would like to avoid this dependency of vertx-grpc over vertx-web for various reasons.
Instead we should provide the code return rc -> server.handle(rc.request())
in the documentation, alternatively we could consider having a dependency of vertx-web onto vertx-grpc, but I think that is not necessary.
OK, let's fix the documentation and the blog post
Fixed by 31d21d8b9709e37ab67c78d03ee48db8c9ed12bf
The documentation and the 4.3 release blog post indicate that a
GrpcServer
can be mounted in a Vert.x Web router.In fact, it is not possible because the gRPC server is a
Handler<HttpServerRequest>
not aHandler<RoutingContext>
. So this blog post example is wrong: