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

Cannot assign null or empty value for authType configuration #636

Open Lytan89 opened 4 weeks ago

Lytan89 commented 4 weeks ago

Environment


Describe the bug

When I was trying to set empty or null value for authType, it returns me error of 'Cannot convert undefined or null to object' and the error seems causing by serializeConfig function. This issue seems working fine with @nuxtjs/apollo@5.0.0-alpha.8 but not for the release after this.

Expected behaviour

I should be able to set empty/null value for authType.

Reproduction

No response

Additional context

No response

Logs

No response