half-ogre / dapper-wrapper

A simple abstraction atop the Dapper extension methods and TransactionScope for testability.
MIT License
70 stars 35 forks source link

Issue #9 - Extending the IDbExecutor interface #10

Closed PureKrome closed 7 years ago

PureKrome commented 10 years ago

This PR is referring to Issue #9.

Unfortunately I'm PR'ing this to master and not Dev cause there is no Dev branch on the upstream repo.

half-ogre commented 10 years ago

Thanks @PureKrome! I'll have a look tomorrow.

Unfortunately I'm PR'ing this to master and not Dev cause there is no Dev branch on the upstream repo.

This is by design. Master is the only non-ephemeral branch in GitHub Flow.

half-ogre commented 10 years ago

@PureKrome: My only issue with this PR is committing nuget.exe. I'd really rather have it download as needed. I'll see if I can dig up a sample of doing that, or you could just add it to the .gitignore and I'll fix it up after I merge this. But you'll need to redo this commits, because I don't want the extra size in the refs.

PureKrome commented 10 years ago

Sure. i can redo this .. but I have no idea how to undo my commit .. then re-add a fresh commit minus the .exe. I only ever do clone/pull/push/commit/branch-switch/tag.

FWIW, i couldn't build the repo Out of the Box. I opened up the sln and fail. That's why i pulled down the latest nuget (ie. right click solution -> enable pack restore).

As a testing guru (you, not me .. i've got far to learn :grin:) - i'm assuming your a big fan of test isolation. When i see a sln like this, I would see each sln as an Isolated project, where all resources should not be dependant outside of this. Having the .exe outside of this sln is like saying - use nuget in the GAC (and boy I hate the GAC and the crap that's caused).

That's how I see it at least - but i'm a newbie with all this.

Would love to know your reasoning behind not wanting to have the exe in there. is it really just size at the cost of a PITA to build?

half-ogre commented 10 years ago

FWIW, i couldn't build the repo Out of the Box. I opened up the sln and fail. That's why i pulled down the latest nuget (ie. right click solution -> enable pack restore).

That's totally on me and not having had a project to actually use this on for ages. I'll get that fixed up in master; sorry!

Would love to know your reasoning behind not wanting to have the exe in there. is it really just size at the cost of a PITA to build?

It's not a PITA to build when it's set up right. It automatically downloads nuget.exe for CI, and VS doesn't need it anymore for package restore on the latest version of NuGet.

PureKrome commented 10 years ago

It automatically downloads nuget.exe for CI, and VS doesn't need it anymore for package restore on the latest version of NuGet.

Really?

What magic is this, you speak of?

image

PureKrome commented 7 years ago

Closing this PR because I keep seeing it listed in my Created Pull Requests list and we've all moved on from this.