Firestore indexes in emulator
Currently, the Firestore emulator allows all queries without checking if the query requires an index. It would be great if the emulator checks the Firestore indexes file if the index exists.
Risal Fajar Amiyardi commented
This is the most critical issue right now.
Eduardo Florence commented
This simply prevents us from using the emulator confidently in a development environment.
Chris Jacobs commented
Really important to us - we keep getting production failures, especially in server side code where it can be more difficult to test functions than it is on the front end
Luke Pighetti commented
This is absolutely critical. We currently have no way to warn developers that they are creating functionality that requires indexes in production. All we expect is a warning in the console just like we experience when developing on a managed Firestore instance.
Facundo Panizza commented
This is super important to deploy with confidence
Sergey Antopolskiy commented
Extremely important for keeping indexes version-controlled, synced between environments, and having stress-free deployments.
Steven Ansell commented
It would be so helpful to have this feature. I am trying hard to get my FE people not to mess with indexes even in the staging environment but to update the local file for deployment. It's pretty hard when there is no way to test indexes locally.
Julian Scheuchenzuber commented
Would love to see this implemented. The risk of missing Firestore indexes in production deployments depriving me of a good night sleep.
Martin Mazein commented
To not be enforced to test in production, support for index checks in local emulator would be appreciated.
Elie Zedeck RANDRIAMIANDRIRAY commented
Can't get full production roll-out confidence without this.
Sebastian Kreft commented
Dominic Bartl commented
Discussion on Github