You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if I have a Fragment called User in multiple places in my project, the generated code can import incorrect fragments.
Would it be possible to just import those fragments which are in the same file where Query/Mutation is or maybe just prioritize importing the "nearest" fragment?
👋 @KlausJokisuo
Thank you for raising an issue. I will investigate the issue and get back to you as soon as possible.
Please make sure you have provided enough context.
This library is created and maintained by me, @budde377. Please consider supporting my work and ensure our survival by donating here.
KlausJokisuo
changed the title
Feature request: Scope Fragments by fike
Feature request: Scope Fragments by file
May 9, 2023
Currently, if I have a Fragment called User in multiple places in my project, the generated code can import incorrect fragments.
Would it be possible to just import those fragments which are in the same file where Query/Mutation is or maybe just prioritize importing the "nearest" fragment?
Related issue graphql/graphql-spec#802
Thanks🙏
The text was updated successfully, but these errors were encountered: