소스 검색

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

Ivan Asmer 5 년 전
부모
커밋
e536e92aa8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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){