Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 final
-
Fix Version/s: 2.3-M1
-
Component/s: Persistence
-
Labels:None
Description
In a controller "new Book(params)" automatically creates an associated Author if the "author.name" param is set but what if the author association is polymorphic?
There is no way to tell Grails what subclass of Author you want associated with your book.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
An example: https://github.com/grails/grails-core/commit/fed4240921a7bcac7ec06b98c582aaebff0093a1