Skip to content

Commit

Permalink
fix: fix injection with CDI on mongodb template
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed May 17, 2023
1 parent 844cdd9 commit bc8ec3c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Instance;
import jakarta.enterprise.inject.Typed;
import jakarta.inject.Inject;
import org.bson.BsonValue;
import org.bson.conversions.Bson;
import org.eclipse.jnosql.communication.document.DocumentEntity;
Expand Down Expand Up @@ -58,6 +59,7 @@ class DefaultMongoDBTemplate extends AbstractDocumentTemplate implements MongoDB
DefaultMongoDBTemplate() {
}

@Inject
DefaultMongoDBTemplate(Instance<MongoDBDocumentManager> manager,
DocumentEntityConverter converter,
DocumentWorkflow workflow,
Expand Down

0 comments on commit bc8ec3c

Please sign in to comment.