Skip to content

Empty list in or operator triggering 400 response #30

Description

@bojan88

Pseudocode for a query that should produce an error

query.or([]);
// or
query.or(q => []);

This issue can happen usually when used with a filter like query.or(q => myArray.filter(...).map(...)) where the filter produces an empty array

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions