Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-279

Update for changes to gotBinaryArray

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            kbanker Kyle Banker
            Reporter:
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: