You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like your approach here and especially wanted to make use of your HAL Jackson serialization project. However, I'm using groovy and the "setProperty" method in your Resource/AbstractResource conflict with the GroovyObject. I get the following error:
The return type of com.strategicgains.hyperexpress.domain.Resource setProperty(java.lang.String, java.lang.Object) in com.strategicgains.hyperexpress.domain.AbstractResource is incompatible with void in groovy.lang.GroovyObject
If you could make the naming of methods more compatible with Groovy it would be of great benefit. Thank you!
BTW, what should that method be named? If I call it 'property(Object)' and the corresponding 'Object property()' getter, will that work? Can I add those new methods or do I have to actually rename the old one?
Activity
tfredrich commentedon Nov 18, 2014
That is an interesting problem. I can work that in over time after deprecating the current methods for a bit. But it might be a while...
th3morg commentedon Nov 23, 2014
Todd, this is something that I might undertake if you are willing to have a look at a pull request.
tfredrich commentedon Feb 7, 2015
Pull-request away! :-)
tfredrich commentedon Jul 16, 2015
BTW, what should that method be named? If I call it 'property(Object)' and the corresponding 'Object property()' getter, will that work? Can I add those new methods or do I have to actually rename the old one?