rads-db 0.1.21 → 0.1.22
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/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -586,14 +586,14 @@ function generateMethods(schema, validators, args) {
|
|
|
586
586
|
},
|
|
587
587
|
getMany: async (args2, ctx) => {
|
|
588
588
|
args2 = args2 || {};
|
|
589
|
-
const result = await driverInstance.getMany(args2);
|
|
589
|
+
const result = await driverInstance.getMany(args2, ctx);
|
|
590
590
|
if (args2.include)
|
|
591
591
|
await handleInclude(schema, key, args2.include, result.nodes);
|
|
592
592
|
return result;
|
|
593
593
|
},
|
|
594
594
|
getAll: async (args2, ctx) => {
|
|
595
595
|
args2 = args2 || {};
|
|
596
|
-
const result = await driverInstance.getAll(args2);
|
|
596
|
+
const result = await driverInstance.getAll(args2, ctx);
|
|
597
597
|
if (args2.include)
|
|
598
598
|
await handleInclude(schema, key, args2.include, result);
|
|
599
599
|
return result;
|
package/dist/index.mjs
CHANGED
|
@@ -579,14 +579,14 @@ function generateMethods(schema, validators, args) {
|
|
|
579
579
|
},
|
|
580
580
|
getMany: async (args2, ctx) => {
|
|
581
581
|
args2 = args2 || {};
|
|
582
|
-
const result = await driverInstance.getMany(args2);
|
|
582
|
+
const result = await driverInstance.getMany(args2, ctx);
|
|
583
583
|
if (args2.include)
|
|
584
584
|
await handleInclude(schema, key, args2.include, result.nodes);
|
|
585
585
|
return result;
|
|
586
586
|
},
|
|
587
587
|
getAll: async (args2, ctx) => {
|
|
588
588
|
args2 = args2 || {};
|
|
589
|
-
const result = await driverInstance.getAll(args2);
|
|
589
|
+
const result = await driverInstance.getAll(args2, ctx);
|
|
590
590
|
if (args2.include)
|
|
591
591
|
await handleInclude(schema, key, args2.include, result);
|
|
592
592
|
return result;
|