Accept raw documents in driver API

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We accept non-raw documents in several places in our API, e.g. update_one. However, some users might prefer to use RawDocument instead for the performance/efficiency benefits. We should update our API in 3.0 to accept RawDocuments in place of Documents. Some ways we could do this:

      • Accept anything that implements TryInto<RawDocument>
      • Accept anything that implements Serialize

              Assignee:
              Unassigned
              Reporter:
              Isabel Atkinson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: