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
The API isn't great (e.g. it doesn't allow batching, #4755), and there's no advantage in using it over just calling the functions directly. Also, anyone can implement this as an external package.
I suggest not obsoleting it, but instead splitting the existing API off into a separate NuGet package and exposing the needed internals in Npgsql to allow people to base off it more advanced cases.
@rwasef1830 there are no needed Npgsql internals to be exposed, as far as I can remember. The point is that the current API really isn't great (no batching as you pointed out) and also doesn't provide a significant advantage over just doing thing with commands and readers. I'd also prefer not to own such an external package; since anyone can maintain it, there's no reason for it to be part of Npgsql (either the package or the project).
Activity
rwasef1830 commentedon Nov 15, 2022
I suggest not obsoleting it, but instead splitting the existing API off into a separate NuGet package and exposing the needed internals in Npgsql to allow people to base off it more advanced cases.
roji commentedon Nov 15, 2022
@rwasef1830 there are no needed Npgsql internals to be exposed, as far as I can remember. The point is that the current API really isn't great (no batching as you pointed out) and also doesn't provide a significant advantage over just doing thing with commands and readers. I'd also prefer not to own such an external package; since anyone can maintain it, there's no reason for it to be part of Npgsql (either the package or the project).
Remove obsoletions
Remove obsoletions
Remove obsoletions
Remove obsoletions
Remove obsoletions (#5393)