-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type instantiation is excessively deep and possibly infinite #1354
Comments
I am also using MergeDeep and have this exact same issue after updating supabase-js from 2.47.10 to 2.47.14 |
Hey there! Thanks for reporting this and for the detailed steps to reproduce the issue. I managed to get the same error on my end, and you can check it out here: Reproduction Link. It's interesting that this only happens when TypeScript is updated past version 4.5.5. I'll take a closer look and see what's up. In the meantime, could be useful to know which version of Typescript you are running (you can see it by running Thanks for your patience! Edit: Interestingly enough, digging a bit, it seems that the issue is also related to |
Hi! I'm using ts |
wuuuuhuuuuuuu |
Bug report
Describe the bug
The improvements made to type-safety (see https://github.com/orgs/supabase/discussions/32677) can break with "too complex" types when overriding
Database
.To Reproduce
Type instantiation is excessively deep and possibly infinite
Expected behavior
This error should not occur
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: