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