-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async versions of QueryFirst/Single/FirstorDefault/SingleOrDefault with CommandDefinition are missing #484
Comments
Checked and agreed, yeah that seems to be missing |
Adding to the v2 list. |
I don't see how this is a breaking change. |
@tskimmett I don't think anyone suggested that it was (although we haven't done full depth check) - merely setting priorities and expectations |
@mgravell @tskimmett It is a breaking change as it adds a parameter to an existing method. Any binaries compiled against a previous version of Dapper will be unable to find the method as the signature has changed and it will break in runtime. If you need people to recompile, then it is a breaking change. |
It doesn’t require adding a parameter. It is simply a method overload (new signature). No recompilation required unless you want to use the new signature. |
Those methods are extra methods, not extra optional parameters, so it's not a breaking change. |
Ha! I actually mistook the entire discussion for the addition of CancellationToken parameter to the Async methods as I navigated from the v2.0 planning issue into this one. My bad, should have read it more carefully. Re-reading it again I'm not sure how I actually made such a mess! Perhaps someone wants to close this issue if it has been merged? |
This issue seems to be closed by #600 |
Yep, closing out! |
Hi,
currently there is:
but there is no
only the full version exists:
Same applies to First/Single/SingleOrDefault
Please add the CommandDefinition versions of async First etc. methods too.
The text was updated successfully, but these errors were encountered: