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

Use serde attribute to remove empty write concerns

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None

      RUST-1553 added a write_concern_is_empty method to use with the #[serde(skip_serializing_if = "...")] attribute as an alternative to the remove_empty_write_concern macro. We should replace all uses of the macro with this new strategy to simplify our operation building code.

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

              Created:
              Updated: