C
C#2y ago
dazzzl

❔ 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?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.