Micronaut @RequestScope creates a new instance with each injection
I’m trying to create Micronaut bean with @RequestScope, but with each injection, there is a new instance created. I would expect it to create new instance only once per request.
Micronaut @Error is not catching HttpStatus.INTERNAL_SERVER_ERROR
I’m working on a way to handle errors that should show an error page in HTML format. But it’s not working, and instead of showing the error page, it’s giving back a default JSON message saying {"message": "Internal Server Error"}
.