[GODRIVER-337] Allow option.Optioner to return an error Created: 04/Apr/18 Updated: 19/Apr/18 Resolved: 19/Apr/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | 0.0.2 |
| Fix Version/s: | 0.0.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The option.Optioner type currently does not return an option, which causes problems for types like WriteConcern that can return an error when marshaling to BSON. Update the option.Optioner type to return an error and update all implementations to return an error. |
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 19/Apr/18 ] |
|
Code Review: https://review.gerrithub.io/c/408384/. |
| Comment by Githook User [ 19/Apr/18 ] |
|
Author: {'email': 'kris@mongodb.com', 'username': 'skriptble', 'name': 'Kris Brandow'}Message: Update option.Optioner to return an error Change-Id: Ib887a27c2b718face8d9819ff605e99559c328ff |