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

gazelle: report an error if import is missing #29

Open
srikrsna-buf opened this issue Sep 21, 2022 · 0 comments
Open

gazelle: report an error if import is missing #29

srikrsna-buf opened this issue Sep 21, 2022 · 0 comments

Comments

@srikrsna-buf
Copy link
Member

Gazelle incorrectly falls back to a matching buf_dependencies rule without checking if the file is actually part of the dependency tree. This only happens if the file is not found in the source tree. Ideally it should return an error. This can cause confusion when import paths are wrong: #27

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

1 participant