Skip to content

work for me too #1821

@Baboux98

Description

@Baboux98

Found the solution. Try to use Type decorator from class-transformer like this - @Type(() => Number), on the property that have Runtime.Decimal type in your class declaration. Worked for me.

"class-transformer": "0.5.1"

"@prisma/client": "5.11.0"

Originally posted by @OleksandrKostrov in #1531

this worked for me too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions