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

Update for changes to gotBinaryArray

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: