Lucas Holden
08/11/2025, 7:59 PMMartin
08/11/2025, 7:59 PMLucas Holden
08/11/2025, 8:03 PMMartin
08/11/2025, 8:56 PMMartin
08/11/2025, 8:56 PMProperty<>
that can have conventionsLucas Holden
08/11/2025, 8:57 PMLucas Holden
08/11/2025, 8:58 PMMartin
08/11/2025, 9:14 PMMartin
08/11/2025, 9:15 PMproperty.convention("foo")
I would expect it to work. I'm not the most artifact transform expert though so take this with a grain of saltVampire
08/11/2025, 11:29 PMAre conventions applied to every possible instance of the enclosing type?
Conventions are set where you set them, simple but true. :-)
Lucas Holden
08/12/2025, 12:26 AMConventions are set where you set them, simple but true. :-)That's really vague, so I want to make sure I understand: When you do
val x = project.objects.newInstance<MyType>(); x.someProperty.convention("foo")
, you are only setting the default value for x
and not for every instance of MyType
?Vampire
08/12/2025, 6:36 AMVampire
08/12/2025, 6:39 AMnull
.