typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

Suggest:adding explanations of multi-module application compilation parameters in the document.

Open uliian opened this issue 4 months ago • 0 comments

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.

uliian avatar Apr 24 '24 03:04 uliian