You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(typegen): avoid possible infinite recursion error (#630)
* fix(typegen): avoid possible infinite recursion error
- Add a fixed max depth to recursive types allowing Typescript to not raise
possible infinite recursion error too early.
- Add test to ensure that the provided fix remove this error from a recursive embeding
Related:
supabase/supabase-js#1354supabase/supabase-js#1372supabase/supabase-js#808
* fix(typegen): infinite recursion error
Fixes regression introduced in #627
While fixing the invalid intersection for conflicting keys case
the Omit did lead to a huge increase in the recursive type complexity
Removing it bring back the corner case, but allow much more longer queries.
A test is now in place to ensure minimal coverage over the query complexities
we can handle before reaching infinite recursion errors.
* chore: add types test watcher
* chore: watch over all src
0 commit comments