Diizzayy / nuxt-graphql-client

⚡️ Minimal GraphQL Client + Code Generation for Nuxt3
https://nuxt-graphql-client.web.app
MIT License
357 stars 44 forks source link

Fix/nitro gql fragments #499

Open freality opened 3 months ago

freality commented 3 months ago

I rewrote the #gql-nitro virtual code to import { getSdk } from '#gql/default' instead of generating gql docs from the clientSdks code which excludes fragment definitions.

I've found no issues with this approach. And this solution fixes #333.

Diizzayy commented 1 month ago

@freality I'd be happy to merge this once it's modified to properly support multiple clients, the current implementation is only for the default client if one is specified