Fix field name redaction

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: