-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support use in graphql-let #12
Comments
Interesting. @NickClark can you please share your |
With
I think the issue stems (at least for this specific error), from the fact that the plugin explicitly checks for the extension of the output file. Linking to the sister issue: piglovesyou/graphql-let#127 Oh, and part of the reason I'm using |
It makes sense. I need we need to investigate it a bit more. Also, I think graphql-let uses |
@NickClark Fixed in codegen, and published a new version. Please try |
I love the concept! I had wanted to do something similar in the past but didn't have the opportunity to dig into it! So far the biggest issue I've seen is that variables do not autocomplete. We use the apollo client directly since our app uses Svelte. Basically with the following:
If we don't get the variables right, But I suppose I should put that in a separate issue. 😛 Anyways.... YA! I'm going to try the new version, thanks for getting on this so quickly! |
Yes, just noticed it as well :) I think it's because if fallbacks to the |
So far so good. I can confirm that commenting out the types in Also, this issue seems related: microsoft/TypeScript#36146 |
Thanks @NickClark ! I created a new issue for this one #15), and closing this. |
Would be nice if this could support graphql-let.
I've added the issue to both projects since at this point I don't know which library should be the one to handle this.
Generates the following error:
The text was updated successfully, but these errors were encountered: