Code is here: https://github.com/philwebb/spring-boot/tree/gh-37768

Comment From: philwebb

We should also look at #38754 before we merge this.

Comment From: chicobento

Hi, this is just a heads-up that we have provided an alternative to this here https://github.com/spring-projects/spring-boot/pull/41932