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>()
|
config.NewConfig<byte[], Google.Protobuf.ByteString>()
|
||||||
.MapWith(src => Google.Protobuf.ByteString.CopyFrom(src));
|
.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": {
|
"GrpcChannelOptions": {
|
||||||
"FMSMSAddress": "https://dl.afrino.co",
|
"FMSMSAddress": "https://dl.afrino.co",
|
||||||
"CMSMSAddress": "https://cms.kbs1.ir"
|
"CMSMSAddress": "http://cms-svc"
|
||||||
// "CMSMSAddress": "https://localhost:32846"
|
|
||||||
},
|
},
|
||||||
"Authentication": {
|
"Authentication": {
|
||||||
"Authority": "https://ids.domain.com/",
|
"Authority": "https://ids.domain.com/",
|
||||||
@@ -21,9 +20,7 @@
|
|||||||
"Kavenegar": {
|
"Kavenegar": {
|
||||||
"Sender": "1000001110100",
|
"Sender": "1000001110100",
|
||||||
"ApiKey": "497263626F32626A48685A6137524C4F78575A766E4C74694A556B79317648424964655030682B554545413D"
|
"ApiKey": "497263626F32626A48685A6137524C4F78575A766E4C74694A556B79317648424964655030682B554545413D"
|
||||||
}
|
},
|
||||||
}
|
|
||||||
,
|
|
||||||
"Seq": {
|
"Seq": {
|
||||||
"ServerUrl": "http://seq-svc:5341",
|
"ServerUrl": "http://seq-svc:5341",
|
||||||
"ApiKey": ""
|
"ApiKey": ""
|
||||||
Reference in New Issue
Block a user