Caleb Cushing
10/08/2024, 5:45 PMinterface FooExtension { Property<String> getBar() } and I need to add a default, if I call getBar().convention("baz") before its set then I'll just get "baz" even if I later call bar.set("other") because apparently it's more eager than I'd think... because I'm not calling get() until after the `set`s have been called.
Is there some other way to do this such that convention is really set in the FooExtension ? honestly not certain that'd work either, it sounded good but now it doesn't sound like it would. If this were really a lazy stream it wouldn't insert the default until I called get.TrevJonez
10/08/2024, 5:47 PMCaleb Cushing
10/08/2024, 5:47 PMCaleb Cushing
10/08/2024, 5:47 PMTrevJonez
10/08/2024, 5:49 PMTrevJonez
10/08/2024, 5:50 PMCaleb Cushing
10/08/2024, 5:55 PMzip as it passes through says the uri should be rightCaleb Cushing
10/08/2024, 5:55 PMCaleb Cushing
10/08/2024, 5:56 PMCaleb Cushing
10/08/2024, 5:57 PMCaleb Cushing
10/08/2024, 6:00 PMCaleb Cushing
10/08/2024, 6:00 PMCaleb Cushing
10/08/2024, 6:02 PMCaleb Cushing
10/08/2024, 6:03 PMVampire
10/08/2024, 9:54 PMconvention and set is irrelevant.
If set is never called, or the last call of it was with null as argument, then the convention is returned on get, otherwise the set value.Caleb Cushing
10/09/2024, 12:43 PM