graphql-zeus icon indicating copy to clipboard operation
graphql-zeus copied to clipboard

Typescript error: Type instantiation is excessively deep and possibly infinite

Open karibertils opened this issue 2 years ago • 9 comments

Using [email protected]

The query is valid as far as i know, and the results are correctly typed. Schema from [email protected].

image

karibertils avatar Jul 13 '22 12:07 karibertils

+1

Getting the same error with a deeply nested hasura query. I'm also using order_by, which seems to be causing the error.

@karibertils any luck finding a solution?

vxm5091 avatar Jul 26 '22 23:07 vxm5091

Same here...

DenisBessa avatar Aug 28 '22 11:08 DenisBessa

same here on a simple query with a Hasura schema

dadtmt avatar Sep 27 '22 11:09 dadtmt

Same. If I remove the nested order_by in documents then error resolves. This is a small Hasura schema.

Screenshot 2022-11-14 at 12 37 43

seanonthenet avatar Nov 14 '22 10:11 seanonthenet

+1

Getting the same error with a deeply nested hasura query. I'm also using order_by, which seems to be causing the error.

@karibertils any luck finding a solution?

Nope. Still have same issue with [email protected].

karibertils avatar Jan 15 '23 04:01 karibertils

I also have the same issue with [email protected]

@aexol is there a fix on the horizon for this?

james-m-hall avatar Mar 30 '23 14:03 james-m-hall

Same issue

iamkhalidbashir avatar Jun 26 '23 13:06 iamkhalidbashir

Hi, can you send me the GraphQL Schema and the ts version so I can fix it?

aexol avatar Jul 04 '23 07:07 aexol

I also got this when I was trying to access to arguments using Parameters<>[0]

tintin10q avatar Jan 11 '24 16:01 tintin10q