Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Handlers and dynamic parameter #1118

Closed
dallasbeek opened this issue Sep 7, 2018 · 1 comment
Closed

Type Handlers and dynamic parameter #1118

dallasbeek opened this issue Sep 7, 2018 · 1 comment

Comments

@dallasbeek
Copy link

If I set a type handler
SqlMapper.AddTypeHandler<Guid>(new GuidTypeHandler());
and issue a query like this
conn.Query<Person>("select * from Person where Id = @Id", new { Id = Guid.NewGuid() });
I would expect my type handler to be called to return a properly structured Guid (Endian or other). I don't think it is.

@NickCraver
Copy link
Member

This is a known issue, but also a breaking change we'd have to take a major version to do - see the existing #433 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants