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

Rename CreateCollectionOptions::validation to CreateCollectionOptions::validator

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0-beta
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The schema validator option on CreateCollectionOptions is named validation, though in the actual create command it's called validator, which is how other drivers refer to it as well (e.g. go).

      It seems like the "validation" spelling may have just been a typo, so in 2.0 we should update it to be named "validator" for consistency.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: