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

$type should not serialize with "?" or "or more types"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL

      After serialization with "LiteralSerializationPolicy::kToRepresentativeParseableValue", $type fails to re-parse with the errorĀ 

      Unknown type name alias: ? 

      or

      Unknown type name alias: or more types 

      You can see the relevant failing tests in the query_stats_passthrough in BF-29270 and BF-29271

            Assignee:
            naama.bareket@mongodb.com Naama Bareket
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: