tag:blogger.com,1999:blog-6245476510271728435.post5695251339465611750..comments2023-09-05T14:55:50.003+02:00Comments on Padcom's blog: I still hate JSF - but a little less :DMatthias Hryniszakhttp://www.blogger.com/profile/11432592442831476478noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6245476510271728435.post-37814910195600207462011-04-21T15:23:30.872+02:002011-04-21T15:23:30.872+02:00@Kim: contact me on Google Talk (padcom@gmail.com)...@Kim: contact me on Google Talk (padcom@gmail.com). We can work this out.Matthias Hryniszakhttps://www.blogger.com/profile/11432592442831476478noreply@blogger.comtag:blogger.com,1999:blog-6245476510271728435.post-79370325982491337842011-04-21T15:20:47.055+02:002011-04-21T15:20:47.055+02:00Hi Matthias,
Posting a comment here was the only ...Hi Matthias,<br /><br />Posting a comment here was the only way I could figure out how to contact you.<br /><br />I am starting to get my head around Grails and have starting using your grails-json-rest-api plugin which is great! <br /><br />I was having a problem and getting an 'Invalid object' response so started looking into the plugin code and thought it would be useful to return the errors. I made the following patch in JsonRestApiController to return the errors in the json response and wondered if you were interested in applying the patch to your git repository.<br />===================================<br />data.result.data = null<br />data.result.message = 'Invalid object' // TODO: define an error message that makes sense<br />===================================<br />data.result.errors = data.result.data.errors<br />data.result.data = null<br />data.result.message = 'Invalid object'<br />===================================<br /><br />Regards,<br /><br />KimKim Baddeleyhttps://www.blogger.com/profile/03139989626600692380noreply@blogger.com