Micronaut的依赖注入问题。我使用的是Micronaut 2.1.0版,并且一直面临依赖注入问题。{
"message": "Internal Server Error: Failed to inject value for parameter [IProductManager] of classenabled then ensure the class is
myDate=2019-05-01data class MyData()@Controller fun getMyEndpoint(mydata: MyData)...
Micronaut只在我为MyData提供默认构造函数时绑定请求,从而使myDate为空或提供默认值--这两个都不是我想要做的。有没有一种在不提供默认构造