I\'m trying to retrieve my documents with id but can\'t figure it out. Currently I retrieve my documents like this :
const racesCollection: AngularFir
doc.id gets the UID.
doc.id
Combine with the rest of the data for one object like so:
Object.assign({ uid: doc.id }, doc.data())