You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that uses *sql.Conn.Raw(...) in places, and I'd like to add otelsql instrumentation to the app. However the places that use Raw() get stuck because they get a *otelsql.otelConn instead of the underlying driver connection, and can't unwrap it (without reflection) to get the real one.
It would be nice if there was a method such as Unwrap() driver.Conn which made this possible without reflection
The text was updated successfully, but these errors were encountered:
I have an app that uses
*sql.Conn.Raw(...)
in places, and I'd like to addotelsql
instrumentation to the app. However the places that useRaw()
get stuck because they get a*otelsql.otelConn
instead of the underlying driver connection, and can't unwrap it (without reflection) to get the real one.It would be nice if there was a method such as
Unwrap() driver.Conn
which made this possible without reflectionThe text was updated successfully, but these errors were encountered: