Join Slack
Powered by
Hey guys. I have an issue with Kotlin and Spring. ...
# server
б
Бежан Александр
07/16/2018, 6:51 AM
Hey guys. I have an issue with Kotlin and Spring. Kotlin NoArg plug-in is not creating default constructor. I already asked on SO
https://stackoverflow.com/questions/51352067/noarg-constructor-is-not-getting-created
n
nfrankel
07/16/2018, 7:08 AM
#gradle or
#spring
👍 2
k
Krs
07/19/2018, 6:05 AM
Hmm don't know why you need some library for that why not @JvmOveload constructor () ? I will generate all constructors you need under the hood?
б
Бежан Александр
07/20/2018, 6:43 AM
@Krs
noArg plug-in makes default constructor accessible only from reflection, but not from the code. That’s what I want
7
Views
Open in Slack
Previous
Next