Are Subcollections supported with mock_cloud_firestore?
As an example, in Firestore, I have the following collection:
/maincollection/123/subcollection/456
Does mock_cloud_firestore work with such subcollections?
I tried to nest these in the source the following way but it does not work:
{
"maincollection": {
"1": {
"abc": "xyz,
"subcollection": {
"999": {
"example": "ex"
}
}
}
}
}
Also, how does mock_cloud_firestore support map fields of a document compared to subcollections?
How would they be represented in the JSON?
Are Subcollections supported with mock_cloud_firestore?
As an example, in Firestore, I have the following collection:
/maincollection/123/subcollection/456Does mock_cloud_firestore work with such subcollections?
I tried to nest these in the source the following way but it does not work: