sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

GetContext not in any interface -- propose adding interface GetterContext

Open allenkaplan opened this issue 1 year ago • 0 comments

Hello, I have noticed that the connx method GetContext does not exist within an interface, nor is there any general interface for which connx implements

This has made it troublesome to mock connx for testing and using in code

Possibly we could also add an interface that defines a connection under something like the name Connector

What are your thoughts?

allenkaplan avatar Jun 14 '24 20:06 allenkaplan