[SERVER-56770] small improvements to rpc/message.h ergonomics Created: 07/May/21 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | sa-remove-fv-backlog-22 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
Convert some old `const char*` to `StringData`. Provide a `fmt::formatter` and `operator<<` for these so we don't have to call the `${X}ToString` functions much at all. Rename them just `toStringData` and let overloading do the spelling work. Upgrade msgasserted. Rename MSGHEADER namespace and MsgData namespace to comply with namespace convention. |