kossnocorp / typesaurus

🦕 Type-safe TypeScript-first ODM for Firestore
https://typesaurus.com
415 stars 35 forks source link

Create separate merge function instead of set option #40

Closed kossnocorp closed 4 years ago

kossnocorp commented 4 years ago

Because the merge option passed to set completely changes the function behavior it makes sense to create separate function instead. It will help to provide better typing and avoid confusion.

kossnocorp commented 4 years ago

Closed by adding upset function that updates or sets.