[GODRIVER-252] Add FromHex function to the objectid package Created: 16/Feb/18 Updated: 28/Oct/23 Resolved: 21/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 |
|
There is currently a method to turn an ObjectID into a hex string, but there is no way to create an ObjectID from a hex string. Implement a FromHex function in the objectid package that will allow a user to provide a hex string and get an ObjectID back or an error if the string is not a valid ObjectID. |
| Comments |
| Comment by Githook User [ 21/Feb/18 ] |
|
Author: {'email': 'saghmrossi@gmail.com', 'name': 'Saghm Rossi', 'username': 'saghm'}Message: Change-Id: I11e5464c705dd63d1cb287eec4659e7a30f31d41 |
| Comment by Samuel Rossi (Inactive) [ 21/Feb/18 ] |
|
Code review url: https://review.gerrithub.io/c/400866/ |