ooh i’ve never even thought of doing this, but it could be interesting 🤔
l
little-cartoon-10569
08/23/2022, 11:07 PM
What are the args that get passed to super used for? I've advised that they're essentially not used, so it's safe to pass them through. The other dev had wanted to keep the strongly-typed args interface used for our class separate from the weakly-types no-generic Record (Inputs) that gets passed to super().
little-cartoon-10569
08/23/2022, 11:07 PM
But I couldn't see a reason to do that.
c
clever-sunset-76585
08/24/2022, 2:07 AM
The parent
ComponentResource
class'
args
used to be designated as "reserved for future use". I see that the doc comment for that property now says something different. Or maybe I am misremembering that. I am not sure how it gets used either. Maybe as part of multi-lang components? But for all of my components, I've just been passing
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.