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

QueryAsync<Dynamic> #78

Open
WilliamJOrrIV opened this issue Jun 27, 2022 · 4 comments
Open

QueryAsync<Dynamic> #78

WilliamJOrrIV opened this issue Jun 27, 2022 · 4 comments

Comments

@WilliamJOrrIV
Copy link

WilliamJOrrIV commented Jun 27, 2022

When setting up QueryAsync with type nothing is ever returned. Does the current library not support this?

This is the line of code returning nothing for me.

mockDb.MockDbConnection.SetupDapperAsync(c => c.QueryAsync(It.IsAny(), null, null, null, null)).ReturnsAsync(expectedQuestions);

@JugoRadonic
Copy link

I am having same issue. Setups for Query, Query and async versions never return anything and I think I have tried everything I could think of to solve it.

Curious if this is a bug? Hopefully not a permanent limitation, as some more generic code will not be easy to test then.

@codeforhealth
Copy link

I'm also having the same problem. Thanks for opening an issue and leaving your comments. I thought I was doing something wrong!

@yogeshk97
Copy link

yogeshk97 commented Jan 7, 2024

Is there any update on this issue please?
@UnoSD

@UnoSD
Copy link
Owner

UnoSD commented Jan 8, 2024

@yogeshk97 (same as the other issue) at the moment I do not have the capacity for working on the repo, but I welcome PRs and I am happy to review.

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

5 participants