Open KillerJulian opened 2 months ago
By the way. The docs are incorrect.
export default defineNuxtConfig({
modules: ['nuxt-graphql-client'],
runtimeConfig: {
public: {
'graphql-client': {
clients: {
default: {
host: '', // REQIURED "host"
schema: '<relative_path_to_schema_file>'
}
}
}
}
}
});
https://nuxt-graphql-client.web.app/advanced/codegen#local-schema
Your use case
Locale schema file that Pipeline/Workflow/CI/CD does not fail if the endpoint cannot be reached.
The solution you'd like
Option to store the fetched schema file in a local configured directory.
Possible alternatives
No response
Additional information
No response
Discussion
https://github.com/Diizzayy/nuxt-graphql-client/discussions/474