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

Derived ServerStatusSections should fail to compile without a valid constructor

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch

      Subclasses of ServerStatusSection that fail to implement the correct constructor do not fail to compile, but just crash at startup with the message "no suitable constructor":

      This is not very ergonomic and ideally, we would use the compiler to catch this mistake.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: