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

Rename bson.ArrayConstructor to bson.ValueConstructor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.2
    • 0.0.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: