Hi Paul, thank you! I opened GROOVY-8453.
Mauro
Il 13/01/2018 00:52, Paul King ha scritto:
We originally didn't support JavaBean properties for most of the AST
transformations. We added support and added an allProperties flag
defaulting to true. Basically, this is an acknowledgement that we
s
We originally didn't support JavaBean properties for most of the AST
transformations. We added support and added an allProperties flag
defaulting to true. Basically, this is an acknowledgement that we should be
supporting those properties all along but if anyone is relying on the old
behavior they
Hi Paul,
thank you! I can't see |allProperties| annotation attribute in any of
those annotations, at least in Groovy 2.4.x.
Let me know if I should open a JIRA ticket about this.
But... by the way... why the need of such an attribute? What's the
difference between properties included whatever
I haven't checked the code yet but I think @Builder and @ToString
originally had similar issues and we added an `allProperties` attribute
with default true. Perhaps that is needed here too. I'll try to check the
code shortly.
On Thu, Jan 11, 2018 at 11:57 PM, Mauro Molinari
wrote:
> Hello all,
>
Hello all,
I'm getting crazy because I can't understand what I'm doing wrong.
Consider this (it can be pasted on the Groovy console):
|import groovy.transform.TupleConstructor||
||
||public class Foobar {||
|| private Long id;||
|| public Long getId() { return this.id; }||
|| public void