Convert DbResponse to have a validated ctor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      DbResponse currently uses default and list constructors. The default constructor is used for stack initialization only—it should go away in favor of boost::optional<DbResponse>. We should add additional constructors that validate and otherwise convert their arguments into a valid DbResponse. In short, when you have a DbResponse in hand, it should be valid enough to send back to return to a user.

            Assignee:
            Unassigned
            Reporter:
            Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: