I'm in the process of migrating to the beta, but I've run into an issue where the relations I include in my query are optional in the inferred type of the output. For example suppose I have these relations defined:
accounts: { user: r.one.users({ from: r.accounts.userId, to: r.users.id, }), }
accounts: { user: r.one.users({ from: r.accounts.userId, to: r.users.id, }), }