firebase / firebase-tools-ui

A local-first UI for Firebase Emulator Suite.
https://firebase.googleblog.com/2020/05/local-firebase-emulator-ui.html
Apache License 2.0
274 stars 63 forks source link

wherein not accounting for null values #990

Open vidicunt opened 1 year ago

vidicunt commented 1 year ago

Describe the bug Using android and trying to use .wherein with a null value just ignores it. Example:

.whereIn("reservation.cleanBy", listOf(null, firebaseAuth.currentUser!!.uid) .whereEqualTo("reservation.cleanBy", null) works fine!

Expected behavior The query result should also include the document where the specified value is null

Smartphone (please complete the following information): Emulator API 33