[COMPASS-7131] Investigate changes in NODE-5040: Add color to BSON inspect functions Created: 21/Aug/23 Updated: 06/Nov/23 Resolved: 06/Nov/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Investigation | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | first-responder, node-driver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
Use caseWhen printing out BSON values in Node.js they appear all one color. Node.js colors the various types of javascript values and we can harness that for BSON types. POC: https://github.com/mongodb/js-bson/compare/main...feat/add-color AC
|
| Comments |
| Comment by Le Roux Bodenstein [ 06/Nov/23 ] |
|
Compass seems to already use colour when inspecting BSON types. |