It has to come after MongoDataAutoConfiguration (not MongoAutoConfiguration) because it looks for beans that are defined there (e.g. MongoMappingContext which is the one that scans for entities). Fixes gh-3577
It has to come after MongoDataAutoConfiguration (not MongoAutoConfiguration) because it looks for beans that are defined there (e.g. MongoMappingContext which is the one that scans for entities). Fixes gh-3577