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 {