You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
cloudwy
changed the title
Automatical bean discovery for multiple named eclipsestore-Root-providers
Automatic bean discovery for multiple named eclipsestore-Root-providers
Sep 5, 2024
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?The text was updated successfully, but these errors were encountered: