Open michael-hillmann opened 1 month ago
I encountered the same issue.
This is the line that causes the warning: https://github.com/Diizzayy/nuxt-graphql-client/blob/b512fa0670a10a24e658a108379263363892e2ac/src/runtime/plugin.ts#L16
Seems like config?.["graphql-client"]
never worked on client side but with Nuxt 3.12 we now get a warning for this.
Simple check for process.server
could solve this easily.
Environment
Nuxt project info: - Operating System: Windows_NT
Describe the bug
I can't get rid of this warning:![nuxt-graphql-warning](https://github.com/user-attachments/assets/322e159d-29d0-4604-96ca-160e5049cff7)
Expected behaviour
Startup without warning
Reproduction
My config is:
Additional context
System is working (as far as I can see); I'm just a little unsettled by this warning.
Logs
No response