Commit f9bd171
authored
fix: handle results that can't be mapped to the changeset in bulk_create (#638)
* fix: handle results that can't be mapped to the changeset in bulk_create
If the identity used has attibutes that can be generated by the
datalayer, we can't map the result back to the changeset and we need to
just zip the results with the changesets and return them that way.
* refactor: do a simple check for `upsert?` instead1 parent d54f93c commit f9bd171
2 files changed
+49
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2124 | 2124 | | |
2125 | 2125 | | |
2126 | 2126 | | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
2132 | 2133 | | |
2133 | | - | |
| 2134 | + | |
2134 | 2135 | | |
2135 | | - | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
2136 | 2160 | | |
2137 | | - | |
| 2161 | + | |
2138 | 2162 | | |
2139 | 2163 | | |
2140 | 2164 | | |
2141 | 2165 | | |
2142 | | - | |
| 2166 | + | |
2143 | 2167 | | |
2144 | 2168 | | |
2145 | 2169 | | |
2146 | 2170 | | |
2147 | | - | |
| 2171 | + | |
2148 | 2172 | | |
2149 | 2173 | | |
2150 | 2174 | | |
2151 | 2175 | | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
| 2176 | + | |
| 2177 | + | |
2155 | 2178 | | |
2156 | 2179 | | |
2157 | 2180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
359 | 371 | | |
360 | 372 | | |
361 | 373 | | |
| |||
0 commit comments