You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that when having nested collections in Firestore, they don't display on the web interface of the emulator unless parent documents contain data.
[REQUIRED] Steps to reproduce
// create some data in a nested collection without data in the document
db.collection('stripe')
.doc('6tSfMgrOCEOi3kj0IHRivd0ZCgX2')
.collection('subscriptions')
.doc('sub_123456789').set({
status: "active"
})
[REQUIRED] Expected behavior
On the production version of the data viewer, it displays empty documents in italics (to designate that there is no fields but sub-collections exist). Image below.
[REQUIRED] Actual behavior
There is nothing to display on the UI and I cannot access child collections. If I set some dummy data on a document, the row will appear.
hj-lee, yuchenshi, roblaszczak, czeslavo, ABedychaj and 29 more