In the js class in wailsjs that is automatically built from the Golang struct, the input parameter name of the constructor is recommended to be fool-proof #3973
Labels
Enhancement
New feature or request
Is your feature request related to a problem? Please describe.
In my project, there is a struct in the Golang package, when generating the corresponding WailsJS class model, the constructor input parameter name and namespace are duplicated, causing my substructure to be undefined during initialization and causing an error, now I can only modify the name of my Golang package, and it is recommended to make the input parameters of the constructor fool-proof, such as adding special symbols such as
__source
Describe the solution you'd like
I hope that the automatically built JS Class Constructor input parameters can be fool-proof, such as adding special symbols such as
__source
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: