I cannot find any documented way to encode/decode array of objects in a subcollection of a document. Please help point it out if there is.
For example, I have object Group with an array "members" containing a list of object User.
How can I encode/decode "members" as a subcollection instead of a map (which is what CodableFirebase automatically encodes to).
I cannot find any documented way to encode/decode array of objects in a subcollection of a document. Please help point it out if there is.
For example, I have object Group with an array "members" containing a list of object User. How can I encode/decode "members" as a subcollection instead of a map (which is what CodableFirebase automatically encodes to).
Thank you!