I have an embedded entity specs and I want to sort by it's property:
Sort.asc( "specs.weight")
This works but I cannot reference it using the metamodel because navigate always returns an expression:
NumericExpression<Train, Double> navigate = _Train.specs.navigate(_TrainSpecs.weight);
Maybe there should be a way to create a path:
_Train.specs.path(_TrainSpecs.weight).asc();