arthabus
arthabus
Would be really nice to have that. In my case I have a collection of objects of various sub-types that I need to query from a NoSQL db. Currently I...
Came up with the following generic approach for now which allows to use `plainToClass` with discriminator: **ClassTransformCustom.js** ``` import {Type, plainToClass as plainToClassOriginal, classToPlain} from "class-transformer"; //helper factory function that...
There are other scenarios too actually, like when the file that needs to be downloaded is created on client side. I.e. user clicks a button -> file is generated on...