0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.56k stars 43 forks source link

chore(cli): disable field-usage and colocated fragments for vue/svelte #334

Closed JoviDeCroock closed 3 months ago

JoviDeCroock commented 3 months ago

Resolves https://github.com/0no-co/gql.tada/issues/323

Summary

The field-usage heuristics see the generated functions as two different scopes so the field-usage and co-located fragment tracking fails to report correctly, hence for now we disable this when analyzing svelte/vue.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: da5b027962f8c41e3909fb0837a33db4813e5a51

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR