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
Further to this issue on core proj, documentation should explicitly state how the IDbConnection is managed.
Specifically, this comment, highlights three places that should be updated.
The readme under Setup Connection just new's up a SqlConnection without highlighting it'd need to be disposed.
The docs online under Query Factory should a similar story
The asp.net core example with DI is similar, but even worse, in that it looks like that's all you'd have to do, and the DI container, when it deconstructs the QueryFactory will just dispose the connection for you, but as we know, that's not the case.
However, if the core library changes to have IQueryFactory implement IDisposable, then the wording required would change.
The text was updated successfully, but these errors were encountered:
Further to this issue on core proj, documentation should explicitly state how the IDbConnection is managed.
Specifically, this comment, highlights three places that should be updated.
However, if the core library changes to have IQueryFactory implement IDisposable, then the wording required would change.
The text was updated successfully, but these errors were encountered: