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

Raw deserializer cannot deserialize newtypes for map keys

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • Rust Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      See this issue and my comment for a detailed report: https://github.com/mongodb/mongo-rust-driver/issues/1361

      BorrowedStrDeserializer, which we use here to deserialize map keys, doesn't seem to be able to handle newtypes. We should fix this and test that we can properly deserialize newtype keys.

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

              Created:
              Updated: