{"action":"created","issue":{"url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/254","labels_url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/254/comments","events_url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/254/events","html_url":"https://github.com/StackExchange/dapper-dot-net/issues/254","id":62733521,"number":254,"title":"option to throw when result set has unmapped columns","user":{"login":"SurajGupta","id":1529504,"avatar_url":"https://avatars.githubusercontent.com/u/1529504?v=3","gravatar_id":"","url":"https://api.github.com/users/SurajGupta","html_url":"https://github.com/SurajGupta","followers_url":"https://api.github.com/users/SurajGupta/followers","following_url":"https://api.github.com/users/SurajGupta/following{/other_user}","gists_url":"https://api.github.com/users/SurajGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/SurajGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SurajGupta/subscriptions","organizations_url":"https://api.github.com/users/SurajGupta/orgs","repos_url":"https://api.github.com/users/SurajGupta/repos","events_url":"https://api.github.com/users/SurajGupta/events{/privacy}","received_events_url":"https://api.github.com/users/SurajGupta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-18T16:21:50Z","updated_at":"2015-03-31T16:42:23Z","closed_at":null,"body":"Here's a full description of the problem:\r\nhttps://stackoverflow.com/questions/28678442/how-can-i-make-dapper-net-throw-when-result-set-has-unmapped-columns\r\n\r\nThe solution seems really hacky.  This would be a great feature to have to proactively surface bugs in queries."},"comment":{"url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/comments/88165576","html_url":"https://github.com/StackExchange/dapper-dot-net/issues/254#issuecomment-88165576","issue_url":"https://api.github.com/repos/StackExchange/dapper-dot-net/issues/254","id":88165576,"user":{"login":"JimPiquant","id":453625,"avatar_url":"https://avatars.githubusercontent.com/u/453625?v=3","gravatar_id":"","url":"https://api.github.com/users/JimPiquant","html_url":"https://github.com/JimPiquant","followers_url":"https://api.github.com/users/JimPiquant/followers","following_url":"https://api.github.com/users/JimPiquant/following{/other_user}","gists_url":"https://api.github.com/users/JimPiquant/gists{/gist_id}","starred_url":"https://api.github.com/users/JimPiquant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimPiquant/subscriptions","organizations_url":"https://api.github.com/users/JimPiquant/orgs","repos_url":"https://api.github.com/users/JimPiquant/repos","events_url":"https://api.github.com/users/JimPiquant/events{/privacy}","received_events_url":"https://api.github.com/users/JimPiquant/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T16:42:23Z","updated_at":"2015-03-31T16:42:23Z","body":"Now your being just silly @DarekDan, keep it professional.  An object mapper that fails to map throwing an exception doesn't come anywhere close to a SRP violation.  Thanks for the suggestion @BenJury, but if the framework did this my unit tests would be far simpler and more likely to fail when someone gets \"sloppy\"."}}