nuxt-modules / apollo

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

Type instantiation is excessively deep and possibly infinite. #576

Closed HaNdTriX closed 9 months ago

HaNdTriX commented 12 months ago

Environment


Describe the bug

When running npx nuxi typecheck I am getting the following error after updating to @nuxtjs/apollo@5.0.0-alpha.9

nuxt.config.ts:43:12 - error TS2589: Type instantiation is excessively deep and possibly infinite.

43   modules: ['@nuxtjs/apollo'],

Expected behaviour

npx nuxi typecheck should not raise an error

Reproduction

Run npx nuxi typecheck

Additional context

No response

Logs

No response

FranciscoKloganB commented 11 months ago

I also got this one on alpha.11

pschaub commented 11 months ago

I am not able to reproduce this issue.

@HaNdTriX @FranciscoKloganB Could you provide an example file nuxt.config.ts that results into this issue?

HaNdTriX commented 9 months ago

I just checked and the issue seems to be resolved in v5.0.0-alpha.11