We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd2968 commit e8801acCopy full SHA for e8801ac
1 file changed
lib/types.ts
@@ -484,6 +484,9 @@ type InitOptions = {
484
/**
485
* Array of collection keys whose backend returned data can be directly merged into
486
* snapshot without selectively picking the existing keys in the existing snapshot data.
487
+ * For e.g. if oldSnapshotData is {report_1: {name 'Fitsum'}} and BE update is {report_1: {name:'Fitsum2', nickName:'Fitse'}}
488
+ * if it is fullyMergedSnapshotkey the `nickName` prop that didn't exist in the previous data will be merged
489
+ * otherwise only existing prop will be picked from the BE update and merged (in this case only name).
490
*/
491
fullyMergedSnapshotKeys?: string[];
492
};
0 commit comments