Set module tags on API version structs in IDL

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • Programmability 2025-12-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From a comment in SERVER-114537

       

      When the command definition in the IDL is marked as open, the generated class is correctly tagged:

      class MONGO_MOD_OPEN CreateCommand { ... };
      

      However, the other (and related) class declarations are not:

      template <typename Derived>
      class CreateCmdVersion1Gen : public TypedCommand<Derived> { ... };
      

      And these classes are are used as base in hierarchy:

      class CreateCmd final : public CreateCmdVersion1Gen<CreateCmd> { ... };

            Assignee:
            Ronald Steinke
            Reporter:
            Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: