ExportXMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Go Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      It would be really nice if there was something like session.WithTransactionReturning that was generic, so we could return a properly typed value instead of any.

      Right now, that would require that the Session type itself be generic, but Go 1.27 will add generic methods (https://github.com/golang/go/issues/77273), which will make this much simpler.

      There may also be other APIs which currently return (any, error) that can have a generic version as well.

            Assignee:
            Unassigned
            Reporter:
            Dave Rolsky
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: