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.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
database

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.

Description

Sadly the Database class from Dapper.Rainbow uses a DbConnection instead of a more accessable IDbConnection.
here

This prevents from using alternative implementations.

Dominant language
C#
Stars
18.4k
Forks
3.7k
Avg merge
5h 8m
Merged PRs (30d)
1

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.

More from DapperLib/Dapper

All issues in DapperLib/Dapper

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.