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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use a hashed id for default root name #1575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

orgads
Copy link
Contributor

@orgads orgads commented Mar 27, 2024

When multiple packages are imported, and all of them were generated in a way that uses default as the root name, each imported package overwrites the definitions of the previous ones.

Solve by assigning a hashed (fallback) name to each generated package.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea

  • Ensure the tests and linter pass

  • Code coverage does not decrease (if any source code was changed)

  • Appropriate docs were updated (if necessary)

  • Relates to compileProtos: Generating for esm/src uses default root聽#1529 馃

@orgads orgads requested review from a team as code owners March 27, 2024 17:26
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Mar 27, 2024
When multiple packages are imported, and all of them were generated in a
way that uses default as the root name, each imported package overwrites
the definitions of the previous ones.

Solve by assigning a hashed (fallback) name to each generated package.
@orgads orgads changed the title Use a hashed id for default root name fix: Use a hashed id for default root name Mar 27, 2024
@orgads
Copy link
Contributor Author

orgads commented Mar 28, 2024

@sofisl

@leahecole leahecole added the kokoro:run Add this label to force Kokoro to re-run the tests. label May 21, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants