Skip to content

Commit

Permalink
fix: base repository template prisma dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Oct 17, 2023
1 parent 9f3773d commit 8943e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/prisma/templates/base-repository.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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<ModelName extends ModelsOf<PrismaClient>>
implements IBaseRepository<ModelName>
{
Expand Down

0 comments on commit 8943e6a

Please sign in to comment.