Document and test named predicates more extensively

Description

Follows up on

In particular:

  • Test declaration of named predicates in the POJO mapper (including error cases). Do that for both type bridges and property bridges.

  • Test declaration of a named predicate in an IndexedEmbedded, in particular when using includePaths. I think there’s a bug and we will not register the named predicate in that case, but we should.

  • Test that the a nested predicate is applied automatically around the named predicate when the named predicate is declared on a nested object field, or on a flattened object field inside a nested document.

  • Test the various methods from the context (param, paramNames, resolvePath, ...)

  • Test error cases when using a named predicate: incompatible definitions in multi-index scope, unknown name, …

  • ...

Environment

None

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major