-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
I just updated the interface and impl. so that we can remove the
gotBinaryArray callback (without the type); for now it will be
deprecated and then removed soon.
https://github.com/mongodb/mongo-java-driver/blob/master/src/main/org/bson/BSONCallback.java#L46
https://github.com/mongodb/mongo-java-driver/blob/master/src/main/org/bson/BasicBSONCallback.java#L133
This means you should be able to cleanup the code in ruby post
java-2.6.1; I think this is what you wanted and it should make the
decoding cleaner and more clear in general. It will be a breaking
change for 2.7, fyi.