-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SerializationService to bring it in line with Java client #22
Update SerializationService to bring it in line with Java client #22
Conversation
e89601d
to
e23975a
Compare
@@ -54,29 +52,6 @@ public ISerializer GetImpl() | |||
return _serializer; | |||
} | |||
|
|||
public override bool Equals(object o) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need Equal and HashCode methods ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed them because they were not in any code path (never used)
What about putting the .Net default serialization in the last step as Java did. It won't be compatible with other clients but would work perfectly for .Net clients. |
e23975a
to
50ab046
Compare
I've added support for C# Serializable now, which uses type ID -101, which probably should be added to the Java list of constants so that it's reserved. Incidentally Generic Lists in C# are serializable by default, so at least this way you can serialize/deserialize generic lists directly. |
Update default serializers to be constant, and add serializers for List and LinkedList. Add support for default CLR Serializable serialization.
50ab046
to
107bc6d
Compare
verify |
verify |
👍 |
Update SerializationService to bring it in line with Java client
Update default serializers to be constant, and add serializers for List
and LinkedList