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

Fix field name redaction

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-04-03, QO 2023-04-17

      We currently have two functions FieldPath::redactedFullPath and SerializationOptions::serializeFieldName to redact the field name. The latter does not properly redact components of dotted field paths separately. We should fix and test that bug, and consider consolidating the functions so there's only one entrypoint for field name serialization.

      We should also consider the role of FieldPath::fulPath (we should be able to keep one function with SerializationOptions provided rather than separate functions for redacted and non-redacted versions). Overall, we gotta clean up the api with which we're redacting field names.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: