msgpack / msgpack-cli

MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]
http://msgpack.org
Apache License 2.0
835 stars 175 forks source link

Custom Serialisation docs appear to be out of date. #341

Open shadow7412 opened 4 years ago

shadow7412 commented 4 years ago

https://github.com/msgpack/msgpack-cli/wiki/Custom-serialization#custom-serializer

When I attempt to create a serialiser class as per this documentation I get the following warning;

Constructor 'MsgPack.Serialization.MessagePackSerializer.MessagePackSerializer' is obsolete: Use MessagePackSerializer (SerlaizationContext) instead.

Also, a code example of how you register this serialiser properly would be useful.

yfakariya commented 4 years ago

Sorry for delayed response, and thank you for feedback! I will fix the doc soon.