Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101533

Add eslint rule that catches attempts of calling print(tojson(...)) in jstests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-03-03, QE 2025-03-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      toJsonForLog() function should be used instead. 

            Assignee:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Reporter:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None