Add Grpc ProtoBuf support (request-response) (#1047)

* ProtoBuf

* .

* x

* ---

* x

* fx

* ...

* sc

* ...

* .

* groen

* x

* fix tests

* ok!?

* fix tests

* fix tests

* !

* x

* 6

* .

* x

* ivaluematcher

* transformer

* .

* sc

* .

* mapping

* x

* tra

* com

* ...

* .

* .

* .

* AddProtoDefinition

* .

* set

* grpahj

* .

* .

* IdOrText

* ...

* async

* async2

* .

* t

* nuget

* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />

* http version

* tests

* .WithHttpVersion("2")

* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />

* HttpVersionParser
This commit is contained in:
Stef Heyenrath
2024-02-16 17:16:51 +01:00
committed by GitHub
parent 801546fae7
commit 6ac95cf57d
129 changed files with 4585 additions and 1556 deletions

View File

@@ -102,7 +102,7 @@ public partial class MappingConverterTests
return Verifier.Verify(code, VerifySettings);
}
private Mapping CreateMapping()
private IMapping CreateMapping()
{
var guid = new Guid("8e7b9ab7-e18e-4502-8bc9-11e6679811cc");
var request = Request.Create()
@@ -119,7 +119,8 @@ public partial class MappingConverterTests
.WithDelay(12345)
.WithTransformer();
return new Mapping(
return new Mapping
(
guid,
_updatedAt,
string.Empty,
@@ -136,9 +137,8 @@ public partial class MappingConverterTests
null,
false,
null,
data: null,
probability: 0.3
);
data: null
).WithProbability(0.3);
}
}
#endif