[CXX-1817] Rename get_utf8() to get_string() Created: 12/Sep/19 Updated: 05/Oct/21 Resolved: 14/Sep/20 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0, 3.7.0-beta1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Raymund Rodriguez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | CXX-2082 | ||||||||||||||||
| Description |
|
Using the name get_utf8 is not very user friendly. It is not what anyone would look for when trying to figure out how to get a string out of a bson element. To make it worse, "string" doesn't even show up in the documentation of the function, so you can't even find it when searching in the header or doxygen. This should probably be done everywhere that utf8 is used to mean string. You will probably need to leave the get_utf8 name available as a deprecated alias for a while. |
| Comments |
| Comment by Githook User [ 14/Sep/20 ] |
|
Author: {'name': 'rayangler', 'email': 'rayangler@users.noreply.github.com', 'username': 'rayangler'}Message: |