Skip to content

Split imports by directory when generating with include_imports - #4689

Open
anuraaga wants to merge 3 commits into
bufbuild:mainfrom
anuraaga:include-imports-directory
Open

anuraaga wants to merge 3 commits into
bufbuild:mainfrom
anuraaga:include-imports-directory

Conversation

@anuraaga

Copy link
Copy Markdown
Contributor

This splits imports by directory during generation in the same way as non-imports when include_imports is set with strategy: directory. Everything else effectively picks up the change, notably computing the generator requests will first populate nonImportPaths with the imports that have been added to the images which prevents them from being promoted for generation in arbitrary images that import them instead.

Fixes #3056

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

Successfully merging this pull request may close these issues.

include_imports does not respect 'strategy: directory'

1 participant