Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm file based query #36

Open
praveenrajkr opened this issue May 2, 2017 · 1 comment
Open

vm file based query #36

praveenrajkr opened this issue May 2, 2017 · 1 comment

Comments

@praveenrajkr
Copy link

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)

@nromanetti
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants