Support was added in https://github.com/spring-projects/spring-boot/commit/94dd510b52dcdc7779d1e55d03b45be903bd7145 but honouring spring.data.mongodb.grid-fs-database
appears to be untested. In the current code, removing the use of the GridFsMongoDatabaseFactory
decorator does not result in any test failures.