Skip to content

Conversation

noahdietz
Copy link
Collaborator

@noahdietz noahdietz commented Feb 19, 2025

Only attempt to resolve against the --proto-path import paths if there were some specified, to avoid an error from protoparse.ResolveFilenames that requires some import path when provided absolute paths. Still want to keep the . resolution separate so that relative input filenames are still able to be resolved against the provided import paths ahead of the attempt to resolve against cwd to avoid proto file name collisions in the subsequent Parse action.

Note: Filed separate bug to come up with a testing harness for the CLI #1479

Updates #1465 again improving on that fix and the one for #1471

@noahdietz noahdietz requested a review from a team as a code owner February 19, 2025 19:52
@noahdietz noahdietz merged commit 6a0ddc6 into googleapis:main Feb 20, 2025
5 checks passed
@noahdietz noahdietz deleted the only-resolve-with-imports branch February 20, 2025 18:55
gcf-merge-on-green bot pushed a commit that referenced this pull request Feb 20, 2025
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.

2 participants