This message was deleted.
# dotnet
s
This message was deleted.
f
It should exist on the concrete type, e.g.
CustomResourceOptions
or
ComponentResourceOptions
depending on which type of resource it is
f
Thanks @faint-table-42725
Copy code
ResourceTransformationArgs.Options
is a ResourceOptions whereas
Copy code
CustomResourceOptions.Merge
takes CustomResourceOptions Would you suggest creating a CustomResourceOptions based on the ResourceOptions from ResourceTransformationArgs.Options?
I haven't spotted part of the public API to convert ResourceOptions into CustomResourceOptions
t
Copy code
if (options is CustomResourceOptions customOptions)
{
  customOptions.Merge(…);
}
something like this?