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

Add additional composition member function to StatusWith for Status-returning functions

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The existing composition member functions are missing a method that accepts functions that return Status such as:

      Status verifyFoo(Foo foo)
      

      which we'd like to be able to call directly from a StatusWith<Foo>

            Assignee:
            jacob.evans@mongodb.com Jacob Evans
            Reporter:
            jacob.evans@mongodb.com Jacob Evans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: