Support legacy file documents with non-ObjectID identifiers

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per the GridFS spec:

      Note: if a file in a GridFS bucket was added by a legacy implementation, its id may be of a type other than ObjectId. Drivers that previously used id’s of a different type MAY implement a download() method that accepts that type, but MUST mark that method as deprecated.

      We should either provide separate methods or a separate Bucket class to work with such files.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: