sparse-intern-71089
09/10/2021, 4:38 PMbillowy-army-68599
So if I pass in a provider via opts to the new component do I need to merge it with every sub resources’ opts ?No, a component inherits all properties from the parent component. You can also pass multiple providers to a component if you're missing resource types
steep-portugal-37539
09/10/2021, 5:39 PMsteep-portugal-37539
10/18/2021, 6:32 PM{parent: thisContextOfSpecificIngress, opts: specificIngressOps}
?
Will it work for just a plain function to not have to pass this info? Or does this function really need to be a class extending component resource to get the opts?
If it needs to be a component resource, i can’t conceptualize that well. Bec it is really just a helper/factory class to take in args and produce an ingress resource. It isn’t meant to be its own standalone component that is used by people. Its function is for internal usebillowy-army-68599
steep-portugal-37539
10/19/2021, 6:36 PMparent
of the ingress for the rest of the opts to be passed along?
How does a resource’s opts being configured work?
In what circumstances would I need to explicitly pass opts to a resource?