TS types incorrect for join tables
I have the following query:
Which results in the following type:
As you can see, the
On another, note,
Which results in the following type:
As you can see, the
unit join has incorrect property type of unknown, according to Supabase generated types, it should be string | null How can this be fixed?On another, note,
unit shouldn't be able to be an array. Supabase apparently doesn't recognize the join table at all, and that might be the root of the issue