Skip to content
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

Nullability support for Query Or Default #36

Open
rafalschmidt97 opened this issue Feb 16, 2024 · 0 comments
Open

Nullability support for Query Or Default #36

rafalschmidt97 opened this issue Feb 16, 2024 · 0 comments

Comments

@rafalschmidt97
Copy link
Collaborator

rafalschmidt97 commented Feb 16, 2024

    Task<TResult> QuerySingleOrDefaultAsync<TResult>(string query, object? param = null);

to

    Task<TResult?> QuerySingleOrDefaultAsync<TResult>(string query, object? param = null);

https://github.com/allegro/dotnet-utils/blob/be8be41302e1916697a9ac38f66871fd4e46a521/src/Allegro.Extensions.Dapper/Allegro.Extensions.Dapper/Abstractions/IDapperClient.cs#L25C1-L26C1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant