better-nail-33136
04/10/2024, 5:41 PMBindingFlags.DeclaredOnly
in this line of the Stack.RegisterPropertyOutputs
method: https://github.com/pulumi/pulumi-dotnet/blob/main/sdk/Pulumi/Stack.cs#L82
Is there some reasoning behind this flag? Maybe the presence of the Urn
output property in the Resource class which is a base class to a Stack. The ComponentResource has similar RegisterOutputs
method, but instead of using DeclaredOnly
flag, it explicitly ignores the Urn
property:
https://github.com/pulumi/pulumi-dotnet/blob/main/sdk/Pulumi/Resources/ComponentResource.cs#L70
Do you think it would make sense to make it consistent and support implementing stack class hierarchies (including outputs from base classes) same as with ComponentResource?better-nail-33136
04/11/2024, 9:14 AM