Description
When provided with nil the EmptyInterfaceEncodeValue method fails because it attempts to lookup an encoder for nil. Check for nil at the beginning of this method and write a BSON Null if val is nil.
When provided with nil the EmptyInterfaceEncodeValue method fails because it attempts to lookup an encoder for nil. Check for nil at the beginning of this method and write a BSON Null if val is nil.