Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[typescript-operations] inlineFragmentTypes to inline all types except some #10207

Open
Cellule opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@Cellule
Copy link

Cellule commented Nov 28, 2024

Is your feature request related to a problem? Please describe.

In the typescript-operations plugin, i want to use inlineFragmentTypes: "inline" 99% of the time.
I have a few fragments that are so big that inlining them results in thousands of lines of typings and drastically slows down typescript LSP and compilation.

Describe the solution you'd like

I've been working with a patch on visitor-plugin-common for a few years now where I added the ability to say: Inline all fragment types except a specific list of fragments
I already opened a proposal PR a few months back
#10062

Describe alternatives you've considered

We are slowly transitioning to fragment masking so I suspect this won't be a problem at some point in the future, but I'd really love to be able to get rid of my patch and maybe some other people in the community has encountered that problem

Any additional important details?

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant