Major
Nice to have
Bugfix
Major
Enhancement
You can configure attributes already calculated so far using simple path expressions (relatively ugly):
#!xml <annotations> <storage-algorithm> <derived-storage> <expression-evaluation> <navigate-backwards attribute-name="inlineReference" type="DemoTypes:DemoTypes.A" /> </expression-evaluation> </derived-storage> </storage-algorithm> </annotations>
Instead, it should be possible to configure computed attributes using general search expressions (of the model-based search):
#!xml <annotations> <storage-algorithm> <query expr="x -> $x.referers(`DemoTypes:DemoTypes.A#inlineReference`)"/> </storage-algorithm> </annotations>
Here, the Configured Expression must be a function that is passed the base object for which this attribute is to be calculated.
Test
- Attributes inlineReferenceReverse and derivedPath in tl-demo.