asynkron / Wire

Binary serializer for POCO objects
Apache License 2.0
376 stars 63 forks source link

Description of what Wire can/can't do #105

Closed Horusiath closed 3 years ago

Horusiath commented 8 years ago

I think, serializer description should clearly state about the its possibilities and conditions. Something like FAQ would be great. Example questions:

rogeralsing commented 8 years ago

Quick answers if anyone wonders:

I will try to clean this up and add to the readme file

Horusiath commented 8 years ago

Regarding last one - I've created a bunch of tests to check if it's possible to serialize some of the C# LINQ expression variants (not all of them are there yet). Most of them are failing right now.

I think, that quite common problem is serialization of reflection data - Wire supports MethodInfo serialization, but I can see, that ConstructorInfo, PropertyInfo and FieldInfo are not supported.

Second issue concerns System.Reflection.AmbiguousMatchException: Ambiguous match found. that occurs here.


EDIT: it turned out that typeof(Expression).GetTypeInfo().GetMethod("Add") will throw an error. I'm going to send patch for this one.