Consider collapsing session overloads and using optionals

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      many places I wish would use a std::optional<T> instead are overloaded so there’s x->foo(7) and x->foo(7, obj) when really I’d like x->foo(7, optional)
      This is especially true for crud operations that take a session. fact that it’s an overload rather than taking by optional makes writing generic code that maybe or maybe does not want to use a session very tedious

            Assignee:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: