query: removed custom queries support
Merge branch 'query-refactoring'
rules and messages property path, nested entity validation
getFlattenMessages fix
path is optional