You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wwwy3y3
changed the title
Encapsulate payload in update and create passed to dataSource
Encapsulate payload in update passed to dataSource
Dec 26, 2018
Is your feature request related to a problem? Please describe.
For issues below:
firestore.FieldValue.serverTimestamp()
Also for future possible features like:
Describe the solution you'd like
We should somehow encapsulate the payload that passed to create/update methods in
dataSource
.Implementaion detail
API
getData(): Record<string, any>
Should directly replace the original values with payload got from
getData()
getArrayOperations(): ArrayUpdateOperation[]
getArrayOperations()
will provide atomic operations likeadd
,set
,remove
todataSource
The text was updated successfully, but these errors were encountered: