Open
Description
Hi,
I have a subcollection of ingredients
containing data and a ref to the main ingredients collection.
I want to populate data on my subcollection with the data from the main ingredients collection.
I thought about doing something like this :
useFirestoreConnect([
{
collection: "users_lists",
doc: listId,
subcollections: [
{
collection: "ingredients",
populates: [{ child: "ref", root: "ingredients" }],
},
],
storeAs: "my_ingredients",
},
])
but i still the firestore object in my redux store :
I can't find in the doc how to do that.
Thanks for the help !