Skip to content
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

How can i resolve proto import #21

Open
dev-rgupta opened this issue Mar 13, 2023 · 1 comment
Open

How can i resolve proto import #21

dev-rgupta opened this issue Mar 13, 2023 · 1 comment

Comments

@dev-rgupta
Copy link

My Main Proto file import other proto files so How can I resolve those import proto's?

I'm using java/kotlin and my Proto A -----import--> proto B-----import--->proto C and all protos are in diff package structure when I'm compiling Proto A, it's not able to resolve imports. I tried to take help from pact-plugin example but couldn't able to resolve complex or domain specific proto.

@rholshausen
Copy link
Contributor

You can use the additionalIncludes configuration to add additional included directories to search for proto files. See https://github.com/pactflow/pact-protobuf-plugin#additionalincludes-string-or-liststring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants