Make amount, user_id and address_id optional in user order update

This commit is contained in:
masoodafar-web
2025-11-28 04:02:00 +03:30
parent 84f08f11e4
commit ce2bf3f1f0
5 changed files with 22 additions and 21 deletions
@@ -5,6 +5,7 @@ public class GeneralMapping : IRegister
{
void IRegister.Register(TypeAdapterConfig config)
{
config.Default.IgnoreNullValues(true);
config.NewConfig<string, decimal>()
.MapWith(src => decimal.Parse(src));