Grails Dynamic Methods Bug?
Hi all,
I have a class called Product, with a 'name' property, and I want to add the 'findByName' property to the Dynamic properties list. But after I added it, I get an error that the type of the property does not match (see screenshot). It seems IntelliJ thinks the property is of type 'Object', even though I just specified the returntype to be of type Product (I also also tried the fully qualified name). See the screenshot for what I mean.
Attachment(s):
screenshot.jpg
请先登录再写评论。
Erik,
It's definitely a bug. I think you will be pleased to know that we've added completion for dynamic domain methods and finders in last builds and it will be avaliable with next release.
With best regards,
Ilya
Pleased? Very pleased!! Great work for adding them, thanks