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
261 stars 60 forks source link

wherein not accounting for null values #990

Open vladraduvidican opened 9 months ago

vladraduvidican commented 9 months 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