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

[ModGen] Issue with cardinality #4

Open
c3dr0x opened this issue Jun 7, 2018 · 1 comment
Open

[ModGen] Issue with cardinality #4

c3dr0x opened this issue Jun 7, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@c3dr0x
Copy link
Member

c3dr0x commented Jun 7, 2018

When generating entities with cardinality 0..1/1..1, 1..1/1..0 & 0..1/0..1 the generator issue FKs on both sides. It shouldn't.

@durandx durandx added the enhancement New feature or request label Jul 5, 2018
@c3dr0x
Copy link
Member Author

c3dr0x commented Jul 5, 2018

I think that the generation should be as follow:

  • 0..1/1..1 & 1..1/0..1: FK must be on 1..1 side
  • 1..1/1..1 & 0..1/0..1: FK must be on side that has the navigability option set, navigability can be set on both sides if necessary.

@durandx What is your input about it ?

see: get-focus/kinetix-tools@c9f29fb

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

No branches or pull requests

2 participants