When casually using nuxt-graphql-client with Nuxt 3.4.1 it will error the following:
[nuxt] [runtimeConfig] You are trying to access a public runtime config value (graphql-client) directly from the top level. This currently works (for backward compatibility with Nuxt 2) but this compatibility layer will be removed in v3.5. Instead, you can update config['graphql-client'] to config.public['graphql-client'].
This is a deprecation in 3.4 that will be removed in 3.5 (RC)
Expected behaviour
As of Nuxt 3.5 it will be expected to access config.public
Environment
Build Modules: -
Describe the bug
When casually using nuxt-graphql-client with Nuxt 3.4.1 it will error the following:
[nuxt] [runtimeConfig] You are trying to access a public runtime config value (
graphql-client
) directly from the top level. This currently works (for backward compatibility with Nuxt 2) but this compatibility layer will be removed in v3.5. Instead, you can updateconfig['graphql-client']
toconfig.public['graphql-client']
.This is a deprecation in 3.4 that will be removed in 3.5 (RC)
Expected behaviour
As of Nuxt 3.5 it will be expected to access config.public
Reproduction
https://stackblitz.com/edit/github-nzhhxz?file=app.vue
Additional context
Still works fine in Nuxt 3.4
Logs
No response