YoshiyukiKato / grpc-mock

A simple mock gRPC server on Node.js
MIT License
85 stars 24 forks source link

Include google-gax or other imported .proto (using includeDirs options or other) not work ? #35

Open giraudvalentin opened 8 months ago

giraudvalentin commented 8 months ago

hi, has anyone got this package working using some import like "empty.proto" from google ?

i can find theses .proto files in my ./node_modules/google-gax/build/protos/google/protobuf/ folder

But i can't make it work even with includeDirs options like that : options: {includeDirs: ['./node_modules/google-gax/build/protos']}

syntax = "proto3";

import "google/protobuf/empty.proto";
import "google/protobuf/wrappers.proto";

package myPackage;

Has anyone got an idea ?

Thank you very much