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

Support custom root dir for Protobuf local references #177

Open
ImFlog opened this issue Mar 19, 2024 · 0 comments
Open

Support custom root dir for Protobuf local references #177

ImFlog opened this issue Mar 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ImFlog
Copy link
Owner

ImFlog commented Mar 19, 2024

Following #166 and quoting @Jtalk :

I've added an example, but it won't compile due to how Wire is configured right now: it links the whole Protobuf model, meaning it's not going to work with 2 files providing the same message (Company) sitting within the same Protobuf root. It's possible to either skip linking & doing import lookup ourselves, based on the root dir, or to make the root dir configurable (something I wanted to ask for separately, as our schema files live outside the Gradle project the plugin is in).

This should allow this commit to work as expected (it's failing for now).

@ImFlog ImFlog added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant