<https://github.com/micronaut-projects/micronaut-core/issues/3228>