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

Use consistent defaults for TypedBuilder implementations

      Our general policy for TypedBuilder implementations has been to use the default and setter(into) builder defaults, but we don't have that policy documented anywhere and we haven't done so consistently when adding new structs. We should document this policy somewhere and make sure all of our structs with builders have these defaults. Adding setter(into) is a breaking change, so we'll need to defer this until 3.0. We should also investigate whether we can enforce this policy programmatically or with a CI task.

      If we decide to do create our own builders (RUST-938), we should use similar defaults.

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

              Created:
              Updated:
              Resolved: