Category "mapper"

It Is possibile to map typescript object to another based on interface/or type [duplicate]

If i have an object in typescript const x = {a:1, b:2} And an interfacce interface MyInterface { a: number } It possibile to do something li

mapper does not convert between dto to entity

I am new to mapsturct I just want to map between dto to entity those two; my bank class; @Id private int id; my bank dto class; private Integer bankId; my m