Injecting PanacheMongoEntities? #33254
Answered
by
loicmathieu
DempseyRoller
asked this question in
Q&A
-
Hello. |
Beta Was this translation helpful? Give feedback.
Answered by
loicmathieu
May 10, 2023
Replies: 1 comment 2 replies
-
/cc @FroMage (panache), @evanchooly (mongodb), @loicmathieu (mongodb,panache) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If by injecting you mean CDI with
@Inject
then it is not supposed to work. PanacheMongoEntity are not designed to be injected.If you want injection, you may use repositories instead (PanacheMongoRepository).