@infrab4a/connect 3.6.0 → 3.6.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2019,7 +2019,7 @@
2019
2019
  doc = _a.sent();
2020
2020
  data = doc.data();
2021
2021
  if (lodash.isNil(data))
2022
- throw new NotFoundError("Document " + JSON.stringify(identifiers) + " not found");
2022
+ throw new NotFoundError("Document " + this.model.constructor.name + " not found with id " + Object.values(identifiers).shift().toString());
2023
2023
  return [2 /*return*/, data];
2024
2024
  }
2025
2025
  });
@@ -3638,7 +3638,7 @@
3638
3638
  result = _b.sent();
3639
3639
  data = result[this.getGraphQLOperation];
3640
3640
  if (lodash.isNil(data))
3641
- throw new NotFoundError(instance.constructor.name + " not found");
3641
+ throw new NotFoundError(instance.constructor.name + " not found with identifiers: " + JSON.stringify(identifiers));
3642
3642
  return [2 /*return*/, this.convertDataFromHasura(result[this.getGraphQLOperation])];
3643
3643
  }
3644
3644
  });
@@ -5237,6 +5237,7 @@
5237
5237
  'weight',
5238
5238
  { name: { to: function () { return ''; }, from: function () { return undefined; } } },
5239
5239
  { hasVariants: { columnName: 'has_variants', to: function () { return false; }, from: function () { return undefined; } } },
5240
+ { shoppingCount: { columnName: 'shopping_count' } },
5240
5241
  { createdAt: { columnName: 'created_at' } },
5241
5242
  { updatedAt: { columnName: 'updated_at' } },
5242
5243
  {