c2-mongoose 2.1.86 → 2.1.87
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/dist/flow/SearchFlow.js
CHANGED
|
@@ -420,6 +420,9 @@ var SearchFlow = /** @class */ (function () {
|
|
|
420
420
|
if (['projection', 'pageable', 'order', 'orderBy', 'properties', 'populate', 'page', 'limit', 'model', 'select', 'searchText', 'isPageable', 'searchPageable'].includes(key)) {
|
|
421
421
|
return;
|
|
422
422
|
}
|
|
423
|
+
if (value instanceof mongoose_1.Types.ObjectId) {
|
|
424
|
+
console.log(value, "objectiId");
|
|
425
|
+
}
|
|
423
426
|
if (key.endsWith("_id")) {
|
|
424
427
|
value = new mongoose_1.Types.ObjectId(value);
|
|
425
428
|
}
|
package/package.json
CHANGED
package/src/flow/SearchFlow.ts
CHANGED