From 8943e6a9b4d4af8098907c69272b7404fadf315d Mon Sep 17 00:00:00 2001 From: Richard Zampieri Date: Tue, 17 Oct 2023 00:27:37 -0700 Subject: [PATCH] fix: base repository template prisma dependency --- src/providers/prisma/templates/base-repository.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/prisma/templates/base-repository.tpl b/src/providers/prisma/templates/base-repository.tpl index 8a493d6..fe821bb 100644 --- a/src/providers/prisma/templates/base-repository.tpl +++ b/src/providers/prisma/templates/base-repository.tpl @@ -6,10 +6,10 @@ import { Select, PrismaAction, } from "@expressots/prisma"; +import { provide } from "inversify-binding-decorators"; import { IBaseRepository } from "./base-repository.interface"; -import { injectable } from "inversify"; -@injectable() +@provide(BaseRepository) class BaseRepository> implements IBaseRepository {