Commit c061e2f
feat(ParseObject): Add option
* feat(ParseObject): Add option `cascadeSave` to save()
Closes #864
* fix(ParseObject): Safe check for unsaved in save()
* refactor(ParseObject): `cascadeSave` won't save new objects
Nested objects who have not been saved will be ignored when setting `cascadeSave: true`, so save() will throw "Cannot create Pointer to an unsaved ParseObject".cascadeSave to save() (#881)1 parent 4023bdd commit c061e2f
2 files changed
+47
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
937 | 975 | | |
938 | 976 | | |
939 | 977 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
1131 | 1135 | | |
1132 | 1136 | | |
1133 | 1137 | | |
| 1138 | + | |
1134 | 1139 | | |
1135 | 1140 | | |
1136 | 1141 | | |
| |||
1143 | 1148 | | |
1144 | 1149 | | |
1145 | 1150 | | |
| 1151 | + | |
1146 | 1152 | | |
1147 | 1153 | | |
1148 | 1154 | | |
1149 | 1155 | | |
1150 | 1156 | | |
1151 | 1157 | | |
1152 | 1158 | | |
1153 | | - | |
1154 | | - | |
| 1159 | + | |
| 1160 | + | |
1155 | 1161 | | |
1156 | 1162 | | |
1157 | 1163 | | |
| |||
1200 | 1206 | | |
1201 | 1207 | | |
1202 | 1208 | | |
1203 | | - | |
| 1209 | + | |
1204 | 1210 | | |
1205 | 1211 | | |
1206 | 1212 | | |
| |||
0 commit comments