SupposedlySam / firefuel

A Firebase Cloud Firestore architecture to jump-start your project
MIT License
8 stars 1 forks source link

feat: Create generate document id #47

Closed mrgnhnt96 closed 3 years ago

mrgnhnt96 commented 3 years ago

Project Card Link

Resolves Issue #46

Reason for Change

The only way to create a document id is by calling collection.ref.doc().id. This can get kinda lengthy.

Proposed Changes

Create a generateDocumentId method that will return unique DocumentId

Type of Change

Checklist