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

Type instantiation is excessively deep and possibly infinite. #576

Closed HaNdTriX closed 4 months ago

HaNdTriX commented 7 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 6 months ago

I also got this one on alpha.11

pschaub commented 6 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 4 months ago

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