Skip to content

Support mounted proto directories to docker #40

Open
Neytronik opened this issue Feb 13, 2023 · 0 comments
Open

Support mounted proto directories to docker #40

Neytronik opened this issue Feb 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Neytronik
Copy link

Protocols can have nested classes from other directories

and when trying to connect only one proto file to the mock, we get a nested imports error

Version: 3.5.1

Expected behavior

for imports
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
import "validate/validate.proto";

when we mounted this directories to mockingbird image, then mock can be created

Actual behavior

error
on UI
java.io.FileNotFoundException: /tmp/temp734059700379678195/descriptor.desc (No such file or directory)

on Back
validate/validate.proto: File not found.
requests.proto:7:1: Import "validate/validate.proto" was not found or had errors.

@mockingbird/maintainers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants