millions-furniture-75402
05/26/2023, 2:26 PMif (thing) { new resource({...}); }
declare within the "DSL":
new resource({...}, { condition: (resource) => resource.instanceQuantity == 1 });
Can I abuse a transformation
for this?echoing-dinner-19531
05/29/2023, 1:35 PMOutput
value then you can do an apply and write an if inside that, just be aware preview might not be able to show this.
I've been prototyping some ideas to support this in a more first class way but its tricky ideas and that work is still a while off.millions-furniture-75402
05/30/2023, 12:26 PMechoing-dinner-19531
05/30/2023, 12:28 PMmillions-furniture-75402
05/30/2023, 12:29 PM