Quellcode durchsuchen

+jwtGQLAnon for anon, query recursive walker for object id and regexp

Ivan Asmer vor 5 Jahren
Ursprung
Commit
e536e92aa8
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      expand.js

+ 1 - 0
expand.js

@@ -79,6 +79,7 @@ function mmExpandSchema(gqlSchema){
                             function regexp(val){
                                 if (val && typeof val === 'string' && val.startsWith('/') && val.endsWith('/')){
                                     try {
+                                        console.log('regexp', val)
                                         return new Regexp(val.slice(1,-1))
                                     }
                                     catch (e){