Latest update produces an inferred type error on select statements with a table join #449
Closed
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
An error with Typescript type interpretation with supabase-js select query with table join.
This error occurred when updating from 2.26.0 to 2.29.0. (But I think it was the dependencies updating that broke it, i just changed the supabase version from
^2.26.0
to^2.29.0
.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Inferred Type:
Second example inferred type:
Expected behavior
No type error to occur
Expected Inferred Type:
Second example expected inferred type:
This error occurred when updating from 2.26.0 to 2.29.0
System information
I had some issues getting it back to how it was working before with all the version changes, but here is the supabase-js section of my
yarn.lock
. This configuration works:Here is a diff of the two yarn.lock files, the original (which works) has had supabase-js incrementally updated, the new one has been freshly rebuilt (removed links):
The text was updated successfully, but these errors were encountered: