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

Support DateOnly that was added in Dapper 2.1.37 #116

Open
Dean-NC opened this issue Mar 21, 2024 · 0 comments
Open

Support DateOnly that was added in Dapper 2.1.37 #116

Dean-NC opened this issue Mar 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Dean-NC
Copy link

Dean-NC commented Mar 21, 2024

I'd like to use DateOnly since it was added to Dapper 2.1.37, but AOT 1.0.31 throws an error when using it with queries like IDbConnection.QueryAsync

InvalidCastException: Invalid cast from 'System.DateTime' to 'System.DateOnly'

@Dean-NC Dean-NC added the enhancement New feature or request label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant