[Nodejs] Empty, Any imports?

621 views
Skip to first unread message

Rob Cecil

unread,
Jun 2, 2016, 2:08:24 PM6/2/16
to grpc.io
I'm looking for the Node equivalent of importing for the Any and Empty message types.

Normally I can do:

import "google/protobuf/empty.proto";

or

import "google/protobuf/any.proto";

These statements seem to fail in node. I'm using the dynamic codegen approach.

Thanks

Rob Cecil

unread,
Jun 7, 2016, 1:06:36 PM6/7/16
to grpc.io
Bumping. If this needs to be answered by protobufs folks let me know. thanks

Rob Cecil

unread,
Jun 7, 2016, 5:47:07 PM6/7/16
to grpc.io
Resolved by just including the proto source in your project, maintaining the google package name.

Reply all
Reply to author
Forward
0 new messages