@infrab4a/connect 2.0.9-beta.0 → 2.0.9-beta.1
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.
- package/bundles/infrab4a-connect.umd.js +3 -1
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +4 -2
- package/fesm2015/infrab4a-connect.js +3 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +1 -1
|
@@ -4149,7 +4149,9 @@
|
|
|
4149
4149
|
return __generator(this, function (_c) {
|
|
4150
4150
|
_a = params || {}, filters = _a.filters, fields = _a.fields, options = __rest(_a, ["filters", "fields"]);
|
|
4151
4151
|
bindFields = fields ||
|
|
4152
|
-
this.fields
|
|
4152
|
+
this.fields
|
|
4153
|
+
.map(function (field) { return (typeof field === 'string' ? field : Object.keys(field).shift()); })
|
|
4154
|
+
.filter(function (field) { return field !== 'reviews'; });
|
|
4153
4155
|
return [2 /*return*/, _super.find.call(this, Object.assign(Object.assign({}, options), { filters: Object.assign(Object.assign({}, filters), { productId: { operator: exports.Where.ISNULL } }), fields: bindFields }))];
|
|
4154
4156
|
});
|
|
4155
4157
|
});
|