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
Thanks for documenting this issue! I've been using a custom utility type to manually override the faulty type, but it has become a burden for deeply embedded resources - see the code below.
I am exploring how to improve the utility, but I hope a native solution is possible.
Bug report
Describe the bug
Supabase supports making calls using postgrest computed relationships: https://postgrest.org/en/v12/references/api/resource_embedding.html#computed-relationships
However, these show up as typescript errors of the form
SelectQueryError<"could not find the relation between ...">
The types for computed relationships (mostly) worked in 2.47.7 but broke starting in 2.47.8
To Reproduce
Minimal reproduction is available in the
gwax/computed-relationships
branch here: https://github.com/manapoolinc/supabase-playground/tree/gwax/computed-relationshipsExpected behavior
No Type Errors in reproduction code
System information
The text was updated successfully, but these errors were encountered: