Make amount, user_id and address_id optional in user order update
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user