Skip to content

Please provide public getter to access DynamicParameters' parameters dictionary object #304

Description

@ericlau-solid

I am using dapper and it is really frustrating that I have no way of mocking a dapper .execute or .query call and write tests on the parameters being sent to those method calls. Get<> method does not work with a mocked IDbConnection, and I am not the only one with this issue: http://stackoverflow.com/questions/29829209/machinespecs-unit-testing-dapper

Please add a getter to the parameters, or allow a way to get not just the param names, but also the input param values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions