Throw exceptions when attempting to use predicate with incompatible nested path hierarchy in a nested predicate

Description

E.g.:

"anotherNestedObject.someText" is not contained in "nestedObject", so this cannot work. We should detect that and throw an exception.

Environment

None

Activity

Show:
Fabio Massimo Ercoli
April 6, 2020, 1:00 PM

Sorry if I didn’t get that. I’ll be happy to review the fix.

Waldemar Kłaczyński
April 7, 2020, 9:39 AM
Edited

It is also necessary not to build a nested query if the construction is in a congested context. It's about using the same query with sorting and aggregation filtering, it wasn't necessary to build separate queries.

Case:

Thanks to this, the same filter works in searching and sorting.

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major
Configure