SqlMapper.GridReader constructor is internal and prevents mocking
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 18.4k
- Forks
- 3.7k
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
It would be great if the SqlMapper.GridReader constructor were changed to be public - then I'd be able to include QueryMultiple with the rest of my mocking for Dapper in my unit and integration tests.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate SqlMapper.GridReader and its internal constructor, then trace how QueryMultiple creates or uses it. Done means the constructor is publicly usable for mocking QueryMultiple in unit and integration tests, with the existing behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100