-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix export-codgen with multiple output types from same input type (Ch…
…erry-pick of #18373) (#18377) Having multiple codegen backends enabled for the same input type (e.g. Go and Python for Protobuf) will currently only export one of the languages' generated files. This is due to the input type (e.g. `pants.backend.codegen.protobuf.target_types.ProtobufSourceField`) being used as the key in an input -> output map, causing the backend that's enabled last to overwrite any previous backend's registered input -> output. Fixes #15698. Co-authored-by: Andreas Stenius <git@astekk.se>
- Loading branch information
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters