nuxt-modules / apollo

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

Raise exception if path doesn't exist #565

Open bmulholland opened 8 months ago

bmulholland commented 8 months 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.