dulnan / nuxt-graphql-middleware

GraphQL in the backend, fetch in the frontend. With TypeScript support.
https://nuxt-graphql-middleware.dulnan.net
MIT License
57 stars 11 forks source link

feat: add custom fragment import helpers and remove @graphql-fragment… #33

Closed asonnleitner closed 4 months ago

asonnleitner commented 4 months ago

…-import dependency

The new implementation provides more control over the fragment import process and reduces external dependencies.

dulnan commented 4 months ago

Thank you so much! I tested it locally and it works perfectly. I'm going to merge this as is and then see if it would be possible to reuse it to also handle the "automatic inlining", which I've now implemented in a (probably) not very efficient way.