[SERVER-58110] IDL: getters sometimes have const value return types Created: 28/Jun/21 Updated: 29/Oct/23 Resolved: 29/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sa-remove-fv-backlog-22 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Sprint: | Service Arch 2022-05-02, Service Arch 2022-05-16 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
IDL getters sometimes have const value return types. |
| Comments |
| Comment by Githook User [ 29/Apr/22 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Billy Donahue [ 25/Apr/22 ] |
|
It makes sense for |
| Comment by Billy Donahue [ 22/Apr/22 ] |
|
This is now blocking a clang-tidy upgrade. Taking it on as a bgtask. |
| Comment by Billy Donahue [ 01/Sep/21 ] |
|
Link to justification if any is needed. |
| Comment by Billy Donahue [ 29/Jun/21 ] |
|
If a function gives me a std::vector<StringData> (by value), it's none of that function's business what I do with it after the call. It's mine now. |