blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

Validate subview mapping expressions

Open Mobe91 opened this issue 8 years ago • 1 comments

Subview mapping expressions only allow path / treat expressions. We should validate the expression and throw an expressive exception.

Mobe91 avatar Jan 19 '17 22:01 Mobe91

The implementation should be pretty simple, just run the PathTargetResolvingExpressionVisitor on the expression and throw an error if the target type is not a subtype of the subviews entity type.

beikov avatar Feb 04 '17 11:02 beikov