Explorar el Código

scoper on find query.by default adds limit 100

Ivan Asmer hace 5 años
padre
commit
0a47df81e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      expand.js

+ 1 - 1
expand.js

@@ -4,7 +4,7 @@ const bound       = 100;
 function mmExpandSchema(gqlSchema, defaultQueryFields, defaultMutationFields, scoper){
     function scoperTest(query,cursorCalls=[{},{limit:[limitValue=100]}]) {
         console.log(limitValue)
-        return params
+        return [query, cursorCalls]
     }
     scoper=scoper || scoperTest