Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

As you can see at above examples we were using also regular Entity's methods like 'getBelongsToField' or 'getStringField' instead of 'get'.

This is an implementation side effect - we convert entities to java.util.Maps before passing them as a variable to Expression Evaluator. Because relations between entities form a kind of bi-directional graph, we had to find efficient way to avoid infinite cycles during mapping.
We've decided to limit the depth level of traverse to some fixed value (currently it's 2) to achieve this goal without performance overhead.

So yoy you have to remember that you can use .get('') (or brackets) only twice in a single expression and each further traversal will require use of appropriate Entity's API methods.

...