Comments (1)
That exception meant to prevent mapping like this ReadAsync<string, Class>(sql)
which is not supported.
However, it seems that .NET handles TimeSpan
types a bit differently (there is no TypeCode
unlike DateTime
), so I had to fix that.
Package version 3.1.1. with this fix is being built and deployed at this moment.
I added a unit test for this issue:
Also, support for instance mapping for TimeSpan has been added with the test also:
from norm.net.
Related Issues (13)
- Expand support for custom types HOT 8
- Support for custom types mapping HOT 9
- Norm+pg+Identity HOT 4
- Insert support? HOT 2
- Postgres: Mapping columns and json_agg in the same query HOT 1
- Nested objects from multiple tables left join HOT 10
- Stripping underscores from column names HOT 3
- Suggestion: Passing parameters with IDictionary HOT 5
- Add benchmark in README to support the claim
- PostgreSql hstore compatibility with dictionary HOT 3
- How to get the number of affected rows? HOT 4
- Can't map null value to non-nullable property (which is nullable) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norm.net.