-
Notifications
You must be signed in to change notification settings - Fork 345
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
interface Rpc
not exported in service definition
#1107
Comments
Hi @marcaddeo ! Apologies for the late reply, I have to batch when I triage ts-proto issues... I'm not sure why we haven't exported https://github.com/stephenh/ts-proto/blob/main/src/generate-services.ts#L459 Or here if you're using grpc-web: https://github.com/stephenh/ts-proto/blob/main/src/generate-grpc-web.ts#L176 Thanks! |
@stephenh no worries! Was easy enough to just patch that after codegen in the interim. PR submitted. |
When I generate a service the
Rpc
interface is not exported, should it be?I'm trying to implement it as a custom rpc to pass to my
ServiceClientImpl
that is generated, but since it's not exported I have to edit the file to addexport
.The text was updated successfully, but these errors were encountered: