celerio-angular-quickstart icon indicating copy to clipboard operation
celerio-angular-quickstart copied to clipboard

vm file based query

Open praveenrajkr opened this issue 7 years ago • 1 comments

Hi i am trying to modify the "entity-detail.component.html.e.vm" file but the below condition for one to one and one to many relationship always fails

#if($entity.inverseOneToOne.flatUp.size > 0 || $entity.oneToMany.flatUp.size > 0 || $entity.manyToMany.flatUp.size > 0)

praveenrajkr avatar May 02 '17 12:05 praveenrajkr

What do you mean by fails ? return false or throw an exception ?

I assume 'false'... don't forget that inverse associations (inverse one-to-one or one-to-many) must be declared in the celerio configuration file

Check the doc for configuring such associations: one to many inverse one to one

nromanetti avatar May 03 '17 06:05 nromanetti