Closed xunilrj closed 7 years ago
I've added your code to the test suite.
The issue is that the F# map is treated like a generic dictionary custom dictionary, which it is.
That is, it implements IDictionary<TKey,TValue>
but not IDictionary
So far so good, the issue here is that the serializer factory for this case is not implemented, it throws in DictionarySerializerFactory.cs
.
(The built in standard .net dictionaries do support the IDictionary interface and are thus not affected)
I will get on this
I have implemented the F# Map serializer: https://github.com/AsynkronIT/Wire/blob/dev/Wire/SerializerFactories/FSharpMapSerializerFactory.cs
Tests are passing
gungafo49@gmail.com
gungafo49@gmail.com
Wire appears to have a problem to serialize a F# Record that contains a Map. For example:
F#
C#
This is the exception message.