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