mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +00:00
chore: better information in readme
This commit is contained in:
parent
de03a072f6
commit
acc0c7bafd
@ -52,9 +52,9 @@ $ npm install @aditama-labs/nest-autocrud
|
||||
// Your Module
|
||||
@Module({
|
||||
imports: [
|
||||
// This is the magic
|
||||
// This module will automatically map your model to the controller
|
||||
PrismaModule.forRoot({
|
||||
delegate: (prisma) => prisma.user,
|
||||
delegate: (prisma: PrismaClient) => prisma.user,
|
||||
}),
|
||||
],
|
||||
controllers: [AppController],
|
||||
|
Loading…
Reference in New Issue
Block a user