flamelink / flamelink-js-sdk

🦊 Official Flamelink JavaScript SDK for both the Firebase Realtime database and Cloud Firestore
https://flamelink.github.io/flamelink-js-sdk
MIT License
43 stars 5 forks source link

Content Update method should do a `deep update` #164

Open leeprobert opened 3 years ago

leeprobert commented 3 years ago

Am updating records on my Flamelink CMS but I am using Field groups and need to update the content within them. The API method update is supposed to only update the fields that are new in the data object you provide, but this rule only applies at the root level, and my field group fields are overwritten by adding objects with partial data.