[GODRIVER-248] Rename bson.ArrayConstructor to bson.ValueConstructor Created: 15/Feb/18  Updated: 28/Oct/23  Resolved: 16/Feb/18

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: 0.0.1
Fix Version/s: 0.0.2

Type: Improvement Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: GODRIVER Alpha 2 UX

 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.



 Comments   
Comment by Githook User [ 16/Feb/18 ]

Author:

{'email': 'saghmrossi@gmail.com', 'name': 'Saghm Rossi', 'username': 'saghm'}

Message: GODRIVER-248 Rename ArrayConstructor and ValueConstructor

Change-Id: Ia5bddfa677009b868de53e08cda6d04570914373
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/a02131e97f11a7552a07fe1b48a69fe03659f4db

Comment by Samuel Rossi (Inactive) [ 16/Feb/18 ]

Code review url: https://review.gerrithub.io/c/400315/

Generated at Thu Feb 08 08:33:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.