Dapper.Rainbow uses DbConnection on Init instead of IDbConnection
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 18.4k
- Forks
- 3.7k
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
Sadly the Database class from Dapper.Rainbow uses a DbConnection instead of a more accessable IDbConnection.
here
This prevents from using alternative implementations.
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
Start in Dapper.Rainbow/Database.cs at the Init code around line 191 and inspect how the connection type is used. Change the connection dependency to the accessible interface requested in the issue, then verify that alternative IDbConnection implementations can be used without breaking the initialization path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100