You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User received panic error when passing *[]*string to a function that takes *[]interface{}, IResolvable. In Typescript it would be passing string[] to any[] | IResolvable parameter.
Expected Behavior
No error and argument passed successfully.
Current Behavior
panic: parameter list must be one of the allowed types: *[]interface{}, IResolvable; received &[]*string{(*string)(0x1400036b670)} (a *[]*string)
Reproduction Steps
Create a method with a any[] | IResolvable parameter.
Create jsii go bindings
Attempt to call the method with a *[]*string argument
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
User received panic error when passing
*[]*string
to a function that takes*[]interface{}, IResolvable
. In Typescript it would be passingstring[]
toany[] | IResolvable
parameter.Expected Behavior
No error and argument passed successfully.
Current Behavior
panic: parameter list must be one of the allowed types: *[]interface{}, IResolvable; received &[]*string{(*string)(0x1400036b670)} (a *[]*string)
Reproduction Steps
any[] | IResolvable
parameter.*[]*string
argumentPossible Solution
Possibly caused by #3712
Additional Information/Context
Issue didn't exist on jsii version 1.62.
Full report here: hashicorp/terraform-cdk#2281
SDK version used
1.68
Environment details (OS name and version, etc.)
using go within cdktf
The text was updated successfully, but these errors were encountered: