2.8.6
fix value of where
clause top level field from discriminated unions being never
import {
MetaTypeCreator,
query,
where,
} from 'firelordjs'
type DU = MetaTypeCreator<
{ c: false } | { c: true; v: 0 },
'abc'
>
const du = getFirelord<DU>(getFirestore(), 'abc')
query(du.collection(), where('v', '==', 0)) //should be ok but error