feat: add mapping for MediatR.Unit to Google.Protobuf.Empty
Build and Deploy / build (push) Successful in 1m48s

This commit is contained in:
masoodafar-web
2025-12-27 02:38:02 +03:30
parent c7fc30c83e
commit 92aebb42b5
2 changed files with 6 additions and 5 deletions
@@ -60,5 +60,9 @@ public class GeneralMapping : IRegister
config.NewConfig<byte[], Google.Protobuf.ByteString>()
.MapWith(src => Google.Protobuf.ByteString.CopyFrom(src));
// MediatR Unit to Google.Protobuf.Empty
config.NewConfig<MediatR.Unit, Google.Protobuf.WellKnownTypes.Empty>()
.MapWith(_ => new Google.Protobuf.WellKnownTypes.Empty());
}
}
@@ -11,8 +11,7 @@
},
"GrpcChannelOptions": {
"FMSMSAddress": "https://dl.afrino.co",
"CMSMSAddress": "https://cms.kbs1.ir"
// "CMSMSAddress": "https://localhost:32846"
"CMSMSAddress": "http://cms-svc"
},
"Authentication": {
"Authority": "https://ids.domain.com/",
@@ -21,9 +20,7 @@
"Kavenegar": {
"Sender": "1000001110100",
"ApiKey": "497263626F32626A48685A6137524C4F78575A766E4C74694A556B79317648424964655030682B554545413D"
}
}
,
},
"Seq": {
"ServerUrl": "http://seq-svc:5341",
"ApiKey": ""