Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7131

Investigate changes in NODE-5040: Add color to BSON inspect functions

    XMLWordPrintableJSON

Details

    • Not Needed

    Description

      Use case

      When 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

      • Use Node.js stylize function in inspect methods
      • Ensure we fallback to an empty function in web environments
      • TBD

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: