rapid-ability-26103
12/14/2023, 2:20 PMapply
callback on resource output in order to implement depends on manually?little-cartoon-10569
12/14/2023, 6:41 PMapply()
, dependent on the resolved properties of another resource: no, that's not good practice, because what happens inside the apply isn't available to the planning logic in the engine.
Adding an apply in the args of a resource is fine, but it probably doesn't make any difference to dependencies. But you could try it to see?
const x = new XResource("x", { prop = resource.apply((r) => r) }