mirror of https://github.com/dapr/dotnet-sdk.git
* Use protobuf packaging for the Any type This pull request implements two converters which help with the type conversion between arbitrary types and the protobuf `Any` type. The C# protobuf library provides a mechanism to pack or unpack protobuf messages to `Any`. It provides the methods `Any.Pack` and `Any.Unpack` to serialize/deserialize messages based on `Google.Protobuf.IMessage`. For types that are not based on `Google.Protobuf.IMessage`, the existing JSON serialization/deserialization will be used. I've also cleaned the existing codebase a little bit. Fixes #268 * Fix suggested changes |
||
---|---|---|
.. | ||
AppCallbackClient.cs | ||
GrpcUtils.cs | ||
TestHttpClient.cs |