Skip to content

3.4.0

Compare
Choose a tag to compare
@Pliner Pliner released this 19 Feb 16:01
· 609 commits to master since this release
6d93be1

Before:

public interface ISerializer
    {
        byte[] MessageToBytes<T>(T message) where T : class;
        T BytesToMessage<T>(byte[] bytes);
        object BytesToMessage(string typeName, byte[] bytes);
    }

After:

  public interface ISerializer
    {
        byte[] MessageToBytes(Type messageType, object message);
        object BytesToMessage(Type messageType, byte[] bytes);
    }

The serialization of Rpc response in error case was changed: the default value changed to null instead of an object with empty fields.