Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone and thanks in advance for your support, I'm trying to build a Micronaut library in order to access database and to avoid repeated code in various projects.
I'm able to Inject
@Singleton
annotatated classes from the external Micronaut library to a given project but using@Import
annotation andmicronaut-inject-java
annotation processor. I also tryed to usemicronaut-data-processor
as annotation processor but nothing changes: the@Repository
annotated class cannot be injected.I'm able to inject
@Repository
annotated class into Application but not into a@MicronautTest
class. What am I missing?Beta Was this translation helpful? Give feedback.
All reactions