I thought that micronaut will discover the bean automatically, because the root provider type-definition matches to the defined root class in the eclipsestore setting.
But now I need to add @Named("fruit") annotation to make it work, could you please add some information in the tutorial or implement automatic bean discovery?
Feature description
I want to add two eclipse store databases and it was failed when trying to create two different root providers.
application.yml
FruitRepositoryImpl.java
I thought that micronaut will discover the bean automatically, because the root provider type-definition matches to the defined root class in the eclipsestore setting.
But now I need to add
@Named("fruit")
annotation to make it work, could you please add some information in the tutorial or implement automatic bean discovery?