File tree Expand file tree Collapse file tree 1 file changed +0
-57
lines changed Expand file tree Collapse file tree 1 file changed +0
-57
lines changed Original file line number Diff line number Diff line change @@ -957,63 +957,6 @@ should produce state data:
957
957
}
958
958
` ` `
959
959
960
- To give an example, merging :
961
-
962
- ` ` ` json
963
- {
964
- "customers": [
965
- {
966
- "name": "John",
967
- "address": "1234 street",
968
- "zip": "12345"
969
- },
970
- {
971
- "name": "Jane",
972
- "address": "4321 street",
973
- "zip": "54321"
974
- }
975
- ]
976
- }
977
- ` ` `
978
-
979
- into state data :
980
-
981
- ` ` ` json
982
- {
983
- "customers": [
984
- {
985
- "name": "Michael",
986
- "address": "6789 street",
987
- "zip": "6789"
988
- }
989
- ]
990
- }
991
- ` ` `
992
-
993
- should produce state data :
994
-
995
- ` ` ` json
996
- {
997
- "customers": [
998
- {
999
- "name": "Michael",
1000
- "address": "6789 street",
1001
- "zip": "6789"
1002
- },
1003
- {
1004
- "name": "John",
1005
- "address": "1234 street",
1006
- "zip": "12345"
1007
- },
1008
- {
1009
- "name": "Jane",
1010
- "address": "4321 street",
1011
- "zip": "54321"
1012
- }
1013
- ]
1014
- }
1015
- ` ` `
1016
-
1017
960
Merging number types should be done by overwriting the data from events data/action results into the merging element of the state data.
1018
961
For example merging action results :
1019
962
You can’t perform that action at this time.
0 commit comments