Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-495

Implement Deserialize for ReadPreference type

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The readPreference field in the spec tests does not follow a consistent format that can be deserialized by deriving Deserialize (discussed here). We should implement a custom implementation of Deserialize that can deserialize the various formats provided in the spec tests.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: