|
|
@ -56,7 +56,7 @@ const getAst = async ({ |
|
|
|
|
|
|
|
|
|
|
|
await extractDependencies(model.displayValue, dependencyFields); |
|
|
|
await extractDependencies(model.displayValue, dependencyFields); |
|
|
|
|
|
|
|
|
|
|
|
return { ast, dependencyFields }; |
|
|
|
return { ast, dependencyFields, parsedQuery: query }; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let fields = query?.fields || query?.f; |
|
|
|
let fields = query?.fields || query?.f; |
|
|
@ -154,7 +154,7 @@ const getAst = async ({ |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, Promise.resolve({})); |
|
|
|
}, Promise.resolve({})); |
|
|
|
|
|
|
|
|
|
|
|
return { ast, dependencyFields }; |
|
|
|
return { ast, dependencyFields, parsedQuery: dependencyFields }; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const extractDependencies = async ( |
|
|
|
const extractDependencies = async ( |
|
|
|