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

IDL should allow cpp_namespace other than mongo.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Server Security
    • Fully Compatible
    • Security 2023-05-29, Security 2023-06-12
    • 152

    Description

      Setting cpp_namespace to anything other than `mongo` or a namespace nested within `mongo` causes compilation errors in the generated code:

      build/debug/mongo/db/modules/enterprise/src/streams/exec/connection_gen.h:117:20: error: unknown type name 'BSONObj'; did you mean 'mongo::BSONObj'?
      void setAnchor(BSONObj&& obj) {
      ^~~~~~~
      mongo::BSONObj
      

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            sandeep.dhoot@mongodb.com Sandeep Dhoot
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: