jayson8121 / dapper-dot-net

Automatically exported from code.google.com/p/dapper-dot-net
Other
0 stars 0 forks source link

Dapper out-dated on NuGet #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I was looking up for ways to serialize TimeSpan with Dapper. I realized Dapper 
(the version I had anyways), didn't support this right away, since it was 
missing a line like this:

      SqlMapper.typeMap[typeof (TimeSpan)] = DbType.Time;

In SqlMapper; which I realized after some digging, and getting to an issue on 
this page.

Then I re-downloaded the code from GitHub and it's fixed in v1.8, and it was 
then that I realized, Dapper on NuGet is just v1.1, shouldn't it be up to date 
on nuget?

otherwise referencing it through NuGet is pretty much purposeless.

TL;DR: update NuGet to reference Dapper 1.8 instead of Dapper 1.1

<3 Dapper!

Original issue reported on code.google.com by nicolasb...@gmail.com on 20 Aug 2012 at 8:40

GoogleCodeExporter commented 8 years ago
NuGet  has up-to-and-including 1.10

http://nuget.org/packages/Dapper

Are you sure this isn't a glitch in your IDE?

Original comment by marc.gravell on 20 Aug 2012 at 10:11

GoogleCodeExporter commented 8 years ago
according to resharper's decompiler, although the version in nuget seems to be 
1.10, the TimeSpan mappings aren't there..

Original comment by nicolasb...@gmail.com on 20 Aug 2012 at 11:05

GoogleCodeExporter commented 8 years ago
Object mappings don't show up either, for instance.

This difference is between latest GitHub and latest NuGet.

Original comment by nicolasb...@gmail.com on 20 Aug 2012 at 11:06

GoogleCodeExporter commented 8 years ago

Original comment by marc.gravell on 6 Aug 2014 at 3:31