Closed ilearnio closed 6 years ago
@ilearnio your example is not the desired way to initialize documents. You should use the firestore API when needing to initialize any data. This is true for documents and collections. Please read the tutorial for more info or check out some of the unit tests in this library to see how they initialize data.
Currently we define mocked DB documents like so:
Is there any way to pass nested sub-collections? So it would look something like: