Pass SerializationOptions all the way to SafeNum::serialize(...)

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SameNum::serialize(...) should be able to take in SerializationOptions and serialize the literal accordingly. However, there is currently a circular dependency if done so:

      .-> //src/mongo/db/query/query_shape/.auto_header:serialization_options_h

          //src/mongo/db/pipeline/.auto_header:field_path_h
          //src/mongo/db/exec/document_value/.auto_header:document_internal_h
          //src/mongo/db/exec/document_value/.auto_header:value_h
          //src/mongo/util/.auto_header:safe_num_h

      `-- //src/mongo/db/query/query_shape/.auto_header:serialization_options_h

       

      Task is to look into fixing this circular dependency and pass down SerializationOptions

            Assignee:
            Unassigned
            Reporter:
            Calvin Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: