activate icon indicating copy to clipboard operation
activate copied to clipboard

'Automatic' support for bidirectional relationships

Open eoliphan opened this issue 11 years ago • 0 comments

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

eoliphan avatar Jun 03 '14 20:06 eoliphan