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

improve: avoid conflict import paths for Twoslash #1069

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

jasonkuhrt
Copy link
Member

@jasonkuhrt jasonkuhrt commented Sep 6, 2024

This PR works around an issue wherein graffle package imports conflict with generated client imports with Twoslash. More details here: twoslashes/twoslash#54.

The generated client now has all modules nested into <generated dir>/modules so that Twoslash does not find modules in ./graffle/* that match graffle/*.

One potential remaining issue though is that we may intentionally want to have symmetry between ./<generated>/* and graffle/* as we further develop Graffle, in which case we'll be unable to "avoid" this issue.

@jasonkuhrt jasonkuhrt merged commit 4182be3 into main Sep 6, 2024
8 checks passed
@jasonkuhrt jasonkuhrt changed the title improve: avoid error prone module name improve: avoid conflict import paths for Twoslash Sep 6, 2024
@jasonkuhrt jasonkuhrt deleted the improve/use-less-error-prone-module-name branch September 6, 2024 23:39
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.

1 participant