Supported Types
Input1
Input2
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
inputUnion := components.CreateInputUnionInput1(components.Input1{/* values here */})
inputUnion := components.CreateInputUnionInput2(components.Input2{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch inputUnion.Type {
case components.InputUnionTypeInput1:
// inputUnion.Input1 is populated
case components.InputUnionTypeInput2:
// inputUnion.Input2 is populated
}