Open MauricioUyaguari opened 3 years ago
Main issue is query builder is not understanding multiple grouped expression within the exists. Query Builder throws an error for the below as its expecting a single expression within the exists
$x.firm->exists(
x_1|$x_1.brand->in(
$brands
) &&
($x_1.date ==
$date)
)
It does not throw for the same logical expression below which separates the below into 2 exist expressions.
$x.firm->exists(
x_1|$x_1.brand->in(
$brands
)
) &&
($x.firm->exists(
x_1|$x_1.date ==
$date
)
Thoughts on solution
Drawback
Doesn't keep user intent. Solution could be both the implementation of 627 and the flatten on this expression. @akphi thoughts???
Similar issues
How are you using Studio?
Legend Query
Current and expected behavior
When editing a query lambda on an explosion property with multiple booleans, the rendering of the query builder will fail with
Can't display query in form mode due to: Can't process filter expression: no compatible filter operator processer available from plugins
. We should be able to process the given lambda. If required we may need to enable derived filter expression supportSteps to reproduce
model::Person
Model data
Environment
Possible solution and workaround
Equivalent query grammar will work.
Contribution