Skip to content

Query refactoring: improve query validation errors messages by providing more context #11939

@javanna

Description

@javanna

If you have a compound query composed of different levels of nested queries, which is very common, and one single query fails validation, we currently print out a generic validation error but it is hard to identify which query is the "broken" one from the error message. We should improve this, probably by keeping track of where a query is positioned in the query tree and outputting a more specific error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions