Diizzayy / nuxt-graphql-client

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

Codegen + fragmants #393

Open scottyzen opened 9 months ago

scottyzen commented 9 months ago

Environment

Describe the bug

When codegen is disabled fragments can't be found. The fragments are working fine when the codegen is turned on. Here is the error message: "Unknown fragment \"CartFragment\"."

 'graphql-client': {
    codegen: false
  },

Expected behaviour

Fragments should work regardless of whether code generation is on or off.

scottyzen commented 7 months ago

Is anyone else having this issue? 🤔