Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen + fragmants #393

Open
scottyzen opened this issue Oct 2, 2023 · 1 comment
Open

Codegen + fragmants #393

scottyzen opened this issue Oct 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@scottyzen
Copy link

scottyzen commented Oct 2, 2023

Environment

  • Operating System: Darwin
  • Node Version: v16.17.0
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: extends, nitro
  • Runtime Modules: -
  • Build Modules: -

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 scottyzen added the bug Something isn't working label Oct 2, 2023
@scottyzen
Copy link
Author

Is anyone else having this issue? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant