Currently what happens is that Dapper itself throws an unrevealing NullReferenceException. What should happen is SimpleLoad should detect the problem and throw an ArgumentNullException, with a useful diagnostic message, in the CustomQuery(...) method.
Currently what happens is that Dapper itself throws an unrevealing NullReferenceException. What should happen is SimpleLoad should detect the problem and throw an ArgumentNullException, with a useful diagnostic message, in the CustomQuery(...) method.