-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: 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.
- depends on
-
GODRIVER-4094 Bump the minimum Go version to 1.27
-
- Backlog
-
- is related to
-
GODRIVER-4175 Create generic Extract() method for Go 1.27+
-
- Blocked
-
-
GODRIVER-4176 Create generic RawValue conversion logic
-
- Blocked
-