<kotlin + aws lambda requiring empty constructor> ...
# stackoverflow
u
kotlin + aws lambda requiring empty constructor I have the following class written in Kotlin+Guice that is invoked with a lambda class LambdaProcessor @Inject constructor(private val s3Util: S3Util) { fun lambdaInvokesThisMethod() { s3Util.DoSomething() } } That works great for unit testing, but lambda requires the class to have an empty constructor. I can convert this same class to have an empty constructor by doing this: class LambdaProcessor { @Inject lateinit var s3Util: S3Util init {...