typescript-generator
typescript-generator copied to clipboard
Suggest:adding explanations of multi-module application compilation parameters in the document.
In a multi-module application, if the controller is in a sub-module, the generated parameters will not be able to properly parse the parameter names of methods. It will generate parameter names like arg0, arg1, and so on. If these parameter names are used to correspond to the parameter names in the query string, parameter binding will not work properly. The solution to this problem is: when compiling Java code, add the compilation parameter: -parameters, and when compiling Kotlin code, add the -javaParameters parameter.