Binding JSON to nested Grails Domain Objects
Since this question got upvoted several times I would like to share what I did in the end: Since I had some more requirements to be implemented like security etc. I implemented a service layer which hides the domain objects from the controllers. I introduced a “dynamic DTO layer” which translates Domain Objects to Groovy … Read more