Self join breaks return type
Same issue as helpIs it possible to make this query typesafe?
The return type of the query is
The query works as expected, the result is just
The return type of the query is
never[]. If I remove the left join, things return to normal.The query works as expected, the result is just
never[].