Skip to content

[QA] Nested [ is officially support? #507

Closed
@fredppm

Description

@fredppm

Hello

I was trying to figure out if the nested brackets is officially support or may be a bug feature.

My may sample

I want to sum all values from the array of objects named totals and filter it when only this object has the Id with CustomTax or Tax
So this query works for me
(totals[id in ["CustomTax", "Tax"]].value ? $number($sum(totals[id in ["CustomTax", "Tax"]].value)) : undefined)

But using the try page the syntax highlight appear to be bugged
image

I didn't find any warnings in the docs about this nested operations so I want just to confirm if the query interpretation officially handling this inception .
Thank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions