Closed jckw closed 3 years ago
@jckw can you confirm this is working on prod? Iβm not really in a position to test it, but could merge if itβs safe to
The change does work, but I've messed around with the branch a bit. I'll isolate the change and put up a new PR which we can merge tomorrow AM.
New PR up here: https://github.com/nandorojo/swr-firestore/pull/138
On adding to a collection, the document ID is returned when a single object is passed, and the set of document IDs is returned when multiple objects are passed as an array.
Fixes #62.