Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-248

Rename bson.ArrayConstructor to bson.ValueConstructor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.2
    • Affects Version/s: 0.0.1
    • Component/s: None
    • None

      When we originally designed the bson.ArrayConstructor we did not have a value type and it was returning elements. Now that it is returns value types, which are useful outside of the context of an Array, we should rename it to ValueConstructor. We might also want to rename Constructor to ElementConstructor to provide parity.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: