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

'Automatic' support for bidirectional relationships #139

Open
eoliphan opened this issue Jun 3, 2014 · 0 comments
Open

'Automatic' support for bidirectional relationships #139

eoliphan opened this issue Jun 3, 2014 · 0 comments

Comments

@eoliphan
Copy link

eoliphan commented Jun 3, 2014

When modeling a typical one-to-many relationship (Order-> OrderLine) it is sometimes useful to be able to navigate to the Order when you have and OrderLine. This currently can only be accomplished 'manually':

OrderLine(order:Order,....)

A good example would be Grails GORM support which has a 'belongsTo' statement in it's domain object DSL that serves this function

http://grails.org/doc/latest/guide/GORM.html#manyToOneAndOneToOne

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

No branches or pull requests

2 participants