Skip to content
Browse files

note about the de-serialization bug.

  • Loading branch information...
1 parent f4e00fb commit 989765a2bcd0e458e957754e8586ec7676795c2e @atheken committed Jan 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 NoRM/BSON/BsonDeserializer.cs
View
1 NoRM/BSON/BsonDeserializer.cs
@@ -648,6 +648,7 @@ private Expando ReadFlyweight()
/// <param retval="message">The message.</param>
private static void HandleError(string message)
{
+//TODO: this should flush the rest of the bytes off of the incoming stream, right now this is a BUG!
throw new MongoException(message);
}
}

1 comment on commit 989765a

@brightsparc

Is there a work around for this, perhaps by not throwing exception on nodes that do not match the object model?

Please sign in to comment.
Something went wrong with that request. Please try again.