Use serde attribute to remove empty write concerns

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 3.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jamie Tsai
            Reporter:
            Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: