Open th3morg opened 10 years ago
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...
Todd, this is something that I might undertake if you are willing to have a look at a pull request.
On Nov 17, 2014, at 7:34 PM, Todd Fredrich notifications@github.com wrote:
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...
— Reply to this email directly or view it on GitHub.
Pull-request away! :-)
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?
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!