You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dart-grpc 3.1.0
I am trying to write a grpc client for TypeDB (a graph database), and am using protoc to compile TypeDB's [.proto definition files](https://github.com/vaticle/typedb-protocol) into Dart service and message definitions.
When compiling to Java, the following service definition, TypeDBBlockingStub extends AbstractStubis generated:
However, when compiling to Dart using protoc --dart_out=grpc:<path to dir for generated dart files> <path to proto files>, TypeDBBlockingStub extends AbstractStub is not generated.
I can see that grpc-dart does not have AbstractStub unlike in grpc-java. Is there an equivalent class I can use to implement TypeDBBlockingStub manually?
Repro steps
Clone typedb-protocol repo for with proto definition files git clone https://github.com/vaticle/typedb-protocol
When compiling to Java, the following service definition,
TypeDBBlockingStub extends AbstractStub
is generated:However, when compiling to Dart using
protoc --dart_out=grpc:<path to dir for generated dart files> <path to proto files>
,TypeDBBlockingStub extends AbstractStub
is not generated.I can see that grpc-dart does not have
AbstractStub
unlike in grpc-java. Is there an equivalent class I can use to implement TypeDBBlockingStub manually?Repro steps
git clone https://github.com/vaticle/typedb-protocol
dart pub global activate protoc_plugin
.protoc --dart_out=grpc:<PATH-TO-PROJECT>/lib/generated **/*.proto
Expected result: Find
TypeDBBlockingStub
class definitionActual result:
TypeDBBlockingStub
class definition does not existThe text was updated successfully, but these errors were encountered: