GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 92 forks source link

MEAP v13, chapter 3, section 3.4.3 Many-to-many relationships #50

Open dmcharness opened 10 years ago

dmcharness commented 10 years ago

The discussion related to "Listing 3.15 The Tag object models relationships to both Post and User" doesn't explain why the Tag class has a back reference to the User class. Given that back reference, it also doesn't explain why the belongsTo in Tag must use that particular form in order to support the user back reference. Consequently, while the discussion about the Post-Tag relationship is fine, the discussion of the User-Tag relationship is quite weak.

pledbrook commented 10 years ago

Thanks for the feedback. We'll review on the next pass on Chapter 3.