1a4f36e97b
This change adds a `RegisterInputType` function (similar to the existing `RegisterOutputType`) that is used to register an input interface's type and its associated input type, and adds registrations for the built-in input types. This will be used when copying inputs to an args struct for multi-lang components. When a field is typed as the input interface (e.g. `StringMapInput`) and doesn't need to be an `Output`, we can use this to lookup the non-Output type that implements the interface (e.g. `StringMap`) so it can be instantiated. A subsequent change will update the Go SDK codegen to produce input type registrations for a provider's input types. |
||
---|---|---|
.. | ||
config-config.go.template | ||
config-get.go.template | ||
config-require.go.template | ||
config-try.go.template | ||
types_builtins.go.template | ||
types_builtins_test.go.template |