We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7697b57 commit 2353cf8Copy full SHA for 2353cf8
src/vuex-orm-apollo.ts
@@ -251,7 +251,9 @@ export default class VuexORMApollo {
251
*/
252
private async insertData (data: Data, dispatch: DispatchFunction) {
253
Object.keys(data).forEach(async (key) => {
254
- await dispatch('insertOrUpdate', { data: data[key] });
+ const value = data[key];
255
+ this.context.logger.log('Inserting records', value);
256
+ await dispatch('insertOrUpdate', { data: value });
257
});
258
}
259
0 commit comments