DapperLib / DapperLib/Dapper

Dapper.Rainbow uses DbConnection on Init instead of IDbConnection

Open Beginner friendly
#1,796 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.