TypedSql generating wrong types from the query
* DESCRIPTION
My query returns the chests from the chest table and add to it the numOfKeys the user has for those chests by joining the chestKeys table, while returning the chests , if the user does not have a chestKey record I am explicitly falling back to 0 instead of null
* ISSUE
TypedSql is returning numOfKeys as number | null
* EXPECTED RESULT
TypedSql should return numOfKeys as number
* QUERY
result is in the attached image
My query returns the chests from the chest table and add to it the numOfKeys the user has for those chests by joining the chestKeys table, while returning the chests , if the user does not have a chestKey record I am explicitly falling back to 0 instead of null
* ISSUE
TypedSql is returning numOfKeys as number | null
* EXPECTED RESULT
TypedSql should return numOfKeys as number
* QUERY
result is in the attached image
