Skip to content

[question] class transformer for dtos #2

Open
@orenmizr

Description

@orenmizr

hi, isn't making classes via the validation middleware costly - reallocating memory to the req.body object into a class and than again creating a model class for insertion...

isn't there a way to work with the req.body object directly - what is the advantage here ?
thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions