-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello @nartc,
First of all, thank you for such incredible project. It helped me to build things much faster. Do you have a Patreon or Buy me a coffee so we can show our appreciation?
Could you please help me to understand how to correctly use Automapper with Prisma ORM.
The main problem is that Prisma generates type instead of class. For example:
export type Endpoint = {
id: number
guid: string
description: string | null
url: string
status: EndpointStatus
createdat: Date
updatedat: Date
}Is there a way of doing mapper.createMap() with types or some other way of creating such mapper?
Thank you in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested