dazzzl
dazzzl
CC#
Created by dazzzl on 1/4/2023 in #help
❔ Mapster - Populate Non Default Values
I've been using Mapster for a little while but I always had this problem, for example, when I want to update a product and I recieve only the product id and the price (ex., product has id, name, price) then the product goes from { id: 1, name:"cookie", price:1.5} to { id: 1, name: null, price:1.5} when I map it automatically using Mapster, am I the only one having this problem constantly? How do you guys approach this?
2 replies