feat: add mapping for MediatR.Unit to Google.Protobuf.Empty
Build and Deploy / build (push) Successful in 1m48s
Build and Deploy / build (push) Successful in 1m48s
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
+2
-5
@@ -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": ""
|
||||
Reference in New Issue
Block a user