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

[TS] Fix relative paths for exports #8517

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

Conversation

trumully
Copy link

@trumully trumully commented Feb 3, 2025

Fixes an issue #7898 where exports were using incorrect relative paths for >=3 namespace levels. This is fixed by making the starting range of the namespace components relative to the number of components.

I have also added tests for this fix.

Copy link

google-cla bot commented Feb 3, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added c++ codegen Involving generating code from schema javascript json python typescript labels Feb 3, 2025
@trumully trumully force-pushed the fix-typescript-namespace branch from c533489 to ede7634 Compare February 3, 2025 22:17
@trumully trumully force-pushed the fix-typescript-namespace branch 2 times, most recently from 42e626a to f2e0381 Compare February 20, 2025 00:00
Fixes an issue where exports were using incorrect relative paths for
>=3 namespace levels. This is fixed by making the starting range of the
namespace components relative to the amount of components.
@trumully trumully force-pushed the fix-typescript-namespace branch from cdc9df3 to df4a042 Compare February 20, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant