nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
955 stars 198 forks source link

Raise exception if path doesn't exist #565

Open bmulholland opened 1 year ago

bmulholland commented 1 year ago

If path is passed it, but it doesn't exist, should raise an error -- that's an obvious problem to fix. https://github.com/nuxt-modules/apollo/blob/v5/src/module.ts#L64

Otherwise, it just throws a generic " Unable to resolve Apollo config for client." That's hard to debug.